• 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!

Problem with login.lua

Fresh

Quack!
Joined
Oct 21, 2009
Messages
1,855
Solutions
18
Reaction score
671
[Error - CreatureScript Interface]
data/creaturescripts/scripts/login.lua
Description:
(internalGetPlayerInfo) Player not found when requesting player info #6

[Error - CreatureScript Interface]
data/creaturescripts/scripts/login.lua
Description:
(internalGetPlayerInfo) Player not found when requesting player info #6

[Error - CreatureScript Interface]
data/creaturescripts/scripts/login.lua
Description:
(internalGetPlayerInfo) Player not found when requesting player info #6

[Error - CreatureScript Interface]
data/creaturescripts/scripts/login.lua
Description:
(internalGetPlayerInfo) Player not found when requesting player info #6

[Error - CreatureScript Interface]
data/creaturescripts/scripts/login.lua
Description:
(internalGetPlayerInfo) Player not found when requesting player info #6

And the part of login.lua what I add after the errors come out:
LUA:
--- Ichigo "Revert" ---
if getPlayerVocation(cid) == 1 then
      doPlayerSetVocation(cid,1)
      doSetCreatureOutfit(cid, {lookType=5}, -1)
else
end
--- Spadek 1 trans ---
if getPlayerVocation(cid) == 7 then
    doPlayerSetVocation(cid,1)
    doRemoveCondition(cid, 6)
	setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) - 300)
	setCreatureMaxMana(cid, getCreatureMaxMana(cid) - 200)
	doCreatureAddMana(cid, 5)
	doCreatureAddHealth(cid, 5)
    doSetCreatureOutfit(cid, {lookType=5}, -1)
    setPlayerStorageValue(cid,1000,-1)
    setPlayerStorageValue(cid,1001,-1)
else
end
--- Spadek 2 trans ---
if getPlayerVocation(cid) == 8 then
    doPlayerSetVocation(cid,1)
    doRemoveCondition(cid, 6)
	setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) - 1300)
	setCreatureMaxMana(cid, getCreatureMaxMana(cid) - 700)
	doCreatureAddMana(cid, 5)
	doCreatureAddHealth(cid, 5)
    doSetCreatureOutfit(cid, {lookType=5}, -1)
    setPlayerStorageValue(cid,1000,-1)
    setPlayerStorageValue(cid,1001,-1)
else
end
--- Spadek 3 trans ---
if getPlayerVocation(cid) == 9 then
    doPlayerSetVocation(cid,1)
    doRemoveCondition(cid, 6)
	setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) - 2800)
	setCreatureMaxMana(cid, getCreatureMaxMana(cid) - 1700)
	doCreatureAddMana(cid, 5)
	doCreatureAddHealth(cid, 5)
    doSetCreatureOutfit(cid, {lookType=5}, -1)
    setPlayerStorageValue(cid,1000,-1)
    setPlayerStorageValue(cid,1001,-1)
else
end
--- Spadek 4 trans ---
if getPlayerVocation(cid) == 10 then
    doPlayerSetVocation(cid,1)
    doRemoveCondition(cid, 6)
	setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) - 5300)
	setCreatureMaxMana(cid, getCreatureMaxMana(cid) - 3700)
	doCreatureAddMana(cid, 5)
	doCreatureAddHealth(cid, 5)
    doSetCreatureOutfit(cid, {lookType=5}, -1)
    setPlayerStorageValue(cid,1000,-1)
    setPlayerStorageValue(cid,1001,-1)
else
end
--- Koniec Ichigo Revert ---

Why i got this error, anyone can fix it ?
The error come out when i start server.
 
Back
Top