• 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 z Zombie Eventem!!!

dans1997

New Member
Joined
Aug 6, 2010
Messages
15
Reaction score
0
Witam.

Otóż mam skrypt Zombie Eventu by VirrageS i jak go wrzucę do mods to silnik się ładnie załaduje tylko jak chcę się zalogować na Goda to lista postaci się pojawia i jak wybieram postać i wbijam to nie wbije ciągle się ładuje a w konsoli taki oto błąd:

Code:
[11:47:58.999] [Error - CreatureScript Interface]
[11:47:59.000]                  domodlib("config_zombie_event")

[11:47:59.004]                  function onLogin(cid)
[11:47:59.004]                          if getCreatureStorage(cid, configZombieE
vent.storages.player) > 0 then
[11:47:59.006]                                  doCreatureSetStorage(cid, config
ZombieEvent.storages.player, -1)
[11:47:59.006]                                  doCreatureSetNoMove(cid, false)
[11:47:59.007]                                  doRemoveCondition(cid, CONDITION
_INFIGHT)
[11:47:59.012]                                  doCreatureSetStorage(cid, config
ZombieEvent.storages.player.kills, 0)
[11:47:59.013]                          end

[11:47:59.016]                          registerCreatureEvent(cid, 'Zombie_Event
_Dead')
[11:47:59.017]                          registerCreatureEvent(cid, 'Zombie_Event
_Kill')
[11:47:59.018]                          return true
[11:47:59.019]                  end
[11:47:59.020]          :onLogin
[11:47:59.021] Description:
[11:47:59.022] [string "LuaInterface::loadBuffer"]:4: attempt to compare number
with string
[11:47:59.023] stack traceback:
[11:47:59.025]  [string "LuaInterface::loadBuffer"]:4: in function <[string "Lua
Interface::loadBuffer"]:3>
[11:47:59.057] GoD UfoX has logged out.



I wydaje mi sie że problem występuje w tym kawałku kodu w-zombie.xml:

Code:
            function onLogin(cid)
                if getCreatureStorage(cid, configZombieEvent.storages.player) > 0 then
                    doCreatureSetStorage(cid, configZombieEvent.storages.player, -1)
                    doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), true)
                    doCreatureSetNoMove(cid, false)
                    doRemoveCondition(cid, CONDITION_INFIGHT)
                    doCreatureSetStorage(cid, configZombieEvent.storages.player.kills, 0)
                end

                registerCreatureEvent(cid, 'Zombie_Event_Dead')
                registerCreatureEvent(cid, 'Zombie_Event_Kill')
                return true
            end
        ]]>

PROSZĘ POMÓŻCIE!!
 
Wiem, że ten skrypt działa bo wiele osób go ma tylko mi nie chce jakoś działać. nawet nie wiem czy dawniej mi działał bo chyba działał ale nie wiem czy wgl. coś z nim robiłem po prostu błędów nie było a teraz są .!!
 
Back
Top