Tudo que Elderzin postou
-
[Resolvido] Pedido (guildshopsystem
// ACC MAKER OPTIONS config $config['site']['access_tickers'] = 3; // acess level needed to create/edit tickers $config['site']['access_news'] = 3; // access level needed to edit news $config['site']['access_admin_panel'] = 3; // access level needed to open admin panel $config['site']['news_big_limit'] = 3; // limit of news on latest news page $config['site']['news_ticks_limit'] = 5; // limit of ticker news on latest news page $config['site']['show_creationdate'] = 1; // show date of character creation 1 = yes, 0 = no (when use Search Player) $config['site']['last_deaths_limit'] = 40; // max. number of death on last death page $config['site']['players_group_id_block'] = 4; // don't show in statistics players with group ID higher (or equal) then (show tutors, senior tutors and normal players) $config['site']['support_group_id'] = 2; // on game masters list show players with group id 2 or higher $config['site']['shop_system'] = 1; // show server shop page? 1 = yes, 0 = no, use only if you installed LUA scripts of shop $config['site']['shopguild_system'] = 1; $config['site']['download_page'] = 1; // show download page? 1 = yes, 0 = no $config['site']['serverinfo_page'] = 1; // show server info page? 1 = yes, 0 = no $config['site']['verify_code_shop'] = 0; // show verify code when player try to check premium code $config['site']['gallery_page'] = 1; // show gallery page? 1 = yes, 0 = no $config['site']['email_lai_sec_interval'] = 180; // time in seconds between e-mails to one account from lost account interface, block spam $config['site']['show_marriage_info'] = 0; // show marriage, 1 = yes, 0 = no $config['site']['show_skills_info'] = 1;//show players skills, 1 = yes, 0 = no $config['site']['show_vip_status'] = 1;// show vip status, 1 = yes, 0 = no $config['site']['show_vip_storage'] = 0;// the storage of vip $config['site']['show_outfit'] = 1;// show outfit, 1 = yes, 0 = no $config['site']['show_signature'] = 1;// show signature, 1 = yes, 0 = no $config['site']['screenoftheday'] = 1;// show screenshot of the day $config['site']['worldtransfer'] = 1;//1-Enable/0-Disable Character World Transfer $config['site']['worldtransferprice'] = 10;//Price for Character World Transfer $config['site']['transfermonths'] = 6;//Months for which you cannot make World Transfer with a character nao funfo
- [Resolvido] Pedido (guildshopsystem
- [Resolvido] Pedido (guildshopsystem
-
[Resolvido] Pedido (guildshopsystem
esta dando erro quando eu estou logado na minha acc no gesior da erro de sql achu Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'guild_points' in 'field list'' in C:\wamp\www\pot\OTS_Account.php on line 772 ( ! ) PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'guild_points' in 'field list' in C:\wamp\www\pot\OTS_Account.php on line 772 Call Stack # Time Memory Function Location 1 0.0008 800576 {main}( ) ..\index.php:0 2 0.0157 2433488 include( 'C:\wamp\www\shopguild.php' ) ..\index.php:93 3 0.0157 2433568 OTS_Account->getCustomField( ) ..\shopguild.php:6 4 0.0157 2433744 PDO->query( ) ..\OTS_Account.php:772
-
[AJUDA] Mostrar Frag no Look
nao foi
-
[AJUDA] Mostrar Frag no Look
nao sei por que o meu frag look nao esta funcionando --Script By Theax "" function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } return size.day + size.week + size.month end function onLogin(cid) registerCreatureEvent(cid, "fraglook") return true end function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid then doPlayerSetSpecialDescription(thing.uid,'[Frags: '..getPlayerFrags(thing.uid)..']') return true elseif thing.uid == cid then doPlayerSetSpecialDescription(cid,'[Frags: '..getPlayerFrags(cid)..']') local string = 'You see yourself.' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end string = string..getPlayerSpecialDescription(cid)..'' if getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil then string = string..' You are '.. (getPlayerSex(cid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(cid)) ..'.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false end return true end <event type="login" name="fraglook_register" event="script" value="fraglook.lua"/> <event type="look" name="fraglook" event="script" value="fraglook.lua"/>