• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Some Buggs [REP++ TO HELPER]

Byrackarn

New Member
Joined
Jul 10, 2013
Messages
14
Reaction score
0
Example One : Logging in on x1000 y1000 z7 then moving to x1002 y1005 z7 and re-logs.
He come to x1000 y1000 z7 again..
login.lua
Code:
 local config = {
 loginMessage = getConfigValue('loginMessage'),
 useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))
}

function onLogin(cid)
 

 local accountManager = getPlayerAccountManager(cid)
 if(accountManager == MANAGER_NONE) then
  local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
  if(lastLogin > 0) then
   doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
   str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
  else
   str = str .. " Please choose your outfit."
   doPlayerSendOutfitWindow(cid)
  end

  doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
 elseif(accountManager == MANAGER_NAMELOCK) then
  doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
 elseif(accountManager == MANAGER_ACCOUNT) then
  doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
 else
  doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
 end

 if(not isPlayerGhost(cid)) then
  doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
 end
 registerCreatureEvent(cid, "ZombieAttack")
 registerCreatureEvent(cid, "Mail")
 registerCreatureEvent(cid, "GuildMotd")

 registerCreatureEvent(cid, "Idle")
 if(config.useFragHandler) then
  registerCreatureEvent(cid, "SkullCheck")
 end
 registerCreatureEvent(cid, "playerd")
 registerCreatureEvent(cid, "logoout")
 registerCreatureEvent(cid, "BlessLogin")
 registerCreatureEvent(cid, "ReportBug")
 registerCreatureEvent(cid, "AdvanceSave")
 return true
end



[console]
[10/07/2013 22:50:19] Ricco has logged out.
I don't save[10/07/2013 22:50:19] mysql_real_query(): DELETE FROM `player_depotitems` WHERE `player_id` = 3 - MYSQL ERROR: Table 'swev.player_depotitems' doesn't exist (1146)
[10/07/2013 22:50:19] mysql_real_query(): DELETE FROM `player_depotitems` WHERE `player_id` = 3 - MYSQL ERROR: Table 'swev.player_depotitems' doesn't exist (1146)
[10/07/2013 22:50:19] mysql_real_query(): DELETE FROM `player_depotitems` WHERE `player_id` = 3 - MYSQL ERROR: Table 'swev.player_depotitems' doesn't exist (1146)
[10/07/2013 22:50:19] Error while saving player: Ricco.






and I would need some pages for modern aac..
because when I click on someone (Sorcerer Sample --> Example)
Site doesn't appear


http://swev.sytes.net/index.php/character/view/Sorcerer Sample




vYTYbkW.png




and this

mysql_real_query(): SELECT * FROM `bans` WHERE `value` = 6 AND `type` = 3 AND `active` = 1 AND (`expires` > 1373409934 OR `expires` <= 0) LIMIT 1 - MYSQL ERROR: Unknown column 'value' in 'where clause' (1054)
PLEASE HELP ME ;)
I REP++ !

- - - Updated - - -

B
U
M
P

- - - Updated - - -

B
U
M
P

- - - Updated - - -

Here is my website ..
Its some buggs in it , please help
http://adf.ly/Ro8Pe

- - - Updated - - -

Here is my website ..
Its some buggs in it , please help
http://adf.ly/Ro8Pe
 
Last edited:
Back
Top