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

The Forgotten Server v0.3 beta 1

Status
Not open for further replies.
/n name of npc
eg. /n frodo

/i name of item or id
eg. /i crystal coin
/i 2345
/i vial, 5
 
be happy instead, the longer we wait, the better it will become when it is released. and atleast we have something to look forward to! :thumbup:
 
report.txt

Code:
*****************************************************
Error report - Sun Dec 21 21:56:29 2008

Compiler info - gcc 3.4.5 (mingw special)
Compilation Date - Dec  1 2008 08:09:33

Memory load: 30
Total phys: 2097151 K available phys: 2097151 K
Start time: 21-12-2008  19:8:22
Kernel time: 0:0:1.406
User time: 0:0:34.875
Threads: 3

Exception: 0xc0000005 at eip = 0x77bd8790
eax = 0x14ef8e4 -> 0x7e765c
ebx = 0
ecx = 0
edx = 0x2284190 -> 0x1b20b80
esi = 0x14ef8e4 -> 0x7e765c
edi = 0x1250
ebp = 0x14ef75c -> 0x14ef7ec
esp = 0x14ef740 -> 0x7922ea
efl = 0x10246

---Stack Trace---
From: 0x14ef740 to: 0x14f0000
0x14ef740 | 0x7922ea -> 0x8244489
0x14ef744 | 0
0x14ef748 | 0x382a298 -> 0x67775d48
0x14ef74c | 0x10001733 -> 0x8508c483
0x14ef750 | 0x2284190 -> 0x1b20b80
0x14ef754 | 0x2284190 -> 0x1b20b80
0x14ef758 | 0x2284190 -> 0x1b20b80
0x14ef75c | 0x14ef7ec -> 0x14ef93c \\\\\\ stack frame //////
0x14ef760 | 0x50b643 -> 0x42444c7 <-- ret
0x14ef760  LuaScriptInterface::getFieldString(lua_State*, char const*)(0x50b57c)
0x14ef764 | 0x14ef8e4 -> 0x7e765c
0x14ef768 | 0
0x14ef76c | 0
0x14ef770 | 0x1000c48b -> 0x5f08c483
0x14ef774 | 0x67775d48 -> 0x683cdbe0
0x14ef778 | 0x37982c8 -> 0
0x14ef77c | 0x382a298 -> 0x67775d48
0x14ef780 | 0x67775d48 -> 0x683cdbe0
0x14ef784 | 0x1da4cb0 -> 0x1f71e38
0x14ef788 | 0x2
0x14ef78c | 0x7e765c -> 0
0x14ef7b4  LuaScriptInterface::getFieldString(lua_State*, char const*)(0x50b57c)
0x14ef7c8 | 0xfffffffe
0x14ef7cc | 0x2284190 -> 0x1b20b80
0x14ef7d0 | 0x50b495 -> 0xc483f089
0x14ef7d0  LuaScriptInterface::getField(lua_State*, char const*)(0x50b430)
0x14ef7d4 | 0x2284190 -> 0x1b20b80
0x14ef7d8 | 0xfffffffe
0x14ef7dc | 0x2710
0x14ef7e0 | 0x2284190 -> 0x1b20b80
0x14ef7e4 | 0x2284190 -> 0x1b20b80
0x14ef7e8 | 0x1250
0x14ef7ec | 0x14ef93c -> 0x14ef9c8 \\\\\\ stack frame //////
0x14ef7f0 | 0x59df27 -> 0x8d04ec83 <-- ret
0x14ef7f0  NpcScriptInterface::luaOpenShopWindow(lua_State*)(0x59d792)
0x14ef7f4 | 0x14ef8e4 -> 0x7e765c
0x14ef7f8 | 0x2284190 -> 0x1b20b80
0x14ef7fc | 0x7f47d4 -> 0x656d616e
0x14ef800 | 0x1
0x14ef804 | 0x1280
0x14ef808 | 0x2284190 -> 0x1b20b80
0x14ef80c | 0x965e2d8 -> 0x2aecb2f8
0x14ef810 | 0x2284190 -> 0x1b20b80
0x14ef8c4  NpcScriptInterface::luaOpenShopWindow(lua_State*)(0x59d792)
0x14ef918 | 0
0x14ef91c | 0x14
0x14ef920 | 0x2284190 -> 0x1b20b80
0x14ef924 | 0x10006118 -> 0x34244c8b
0x14ef928 | 0x2284190 -> 0x1b20b80
0x14ef92c | 0x1da4298 -> 0x6be34e88
0x14ef930 | 0x2284190 -> 0x1b20b80
0x14ef934 | 0x2284190 -> 0x1b20b80
0x14ef938 | 0x1250
0x14ef93c | 0x14ef9c8 -> 0x14efa44 \\\\\\ stack frame //////
0x14ef940 | 0x10005561 -> 0x8504c483 <-- ret
0x14ef944 | 0x2284190 -> 0x1b20b80
0x14ef948 | 0x382a258 -> 0x3734708
0x14ef94c | 0
0x14ef950 | 0x1000e647 -> 0x830cc483
0x14ef954 | 0x2284190 -> 0x1b20b80
0x14ef958 | 0x382a258 -> 0x3734708
0x14ef95c | 0
0x14ef960 | 0
0x14ef9a4 | 0x819aac -> 0
0x14ef9a8 | 0x1f71e38 -> 0x2284190
0x14ef9ac | 0x7c828270 -> 0x83ec8b55
0x14ef9b0 | 0x5
0x14ef9b4 | 0xffffffff
0x14ef9b8 | 0x14efa44 -> 0x14efb64
0x14ef9bc | 0
0x14ef9c0 | 0
0x14ef9c4 | 0x2284190 -> 0x1b20b80
0x14ef9c8 | 0x14efa44 -> 0x14efb64 \\\\\\ stack frame //////
0x14ef9cc | 0x10005922 -> 0x8b08c483 <-- ret
0x14ef9d0 | 0x2284190 -> 0x1b20b80
0x14ef9d4 | 0x3
0x14ef9d8 | 0x2284190 -> 0x1b20b80
0x14ef9dc | 0x10002175 -> 0xc30cc483
0x14ef9e0 | 0x2284190 -> 0x1b20b80
0x14ef9e4 | 0x382a158 -> 0x31f1a9a8
0x14ef9e8 | 0x1
0x14ef9ec | 0x1000511a -> 0x8b08c483
0x14efa20 | 0x56433230 -> 0x8153cc
0x14efa24 | 0
0x14efa28 | 0x10010105 -> 0xc308c483
0x14efa2c | 0
0x14efa30 | 0x18
0x14efa34 | 0x10008931 -> 0xc483d88b
0x14efa38 | 0
0x14efa3c | 0
0x14efa40 | 0
0x14efa44 | 0x14efb64 -> 0x14efb84 \\\\\\ stack frame //////
0x14efa48 | 0x10005b51 -> 0xc483e88b <-- ret
0x14efa4c | 0x2284190 -> 0x1b20b80
0x14efa50 | 0x10002160 -> 0x824448b
0x14efa54 | 0x14efa90 -> 0x382a158
0x14efa58 | 0x1
0x14efa5c | 0x2284190 -> 0x1b20b80
0x14efa60 | 0x14efb64 -> 0x14efb84
0x14efa64 | 0x2284190 -> 0x1b20b80
0x14efa68 | 0
0x14efa98  LuaScriptInterface::callFunction(unsigned int)(0x50a4c2)
0x14efb0c  LuaScriptInterface::callFunction(unsigned int)(0x50a4c2)
0x14efb40 | 0x2284190 -> 0x1b20b80
0x14efb44 | 0x6b1ddde4 -> 0x656e7572
0x14efb48 | 0x2284208 -> 0x37ea008
0x14efb4c | 0x6b1dddea -> 0x6b
0x14efb50 | 0x10003066 -> 0xc9332774
0x14efb54 | 0x100019cf -> 0x5f0cc483
0x14efb58 | 0x2284190 -> 0x1b20b80
0x14efb5c | 0x10003066 -> 0xc9332774
0x14efb60 | 0x1d988d0 -> 0x816c28
0x14efb64 | 0x14efb84 -> 0x14efc24 \\\\\\ stack frame //////
0x14efb68 | 0x5a103f -> 0x62a83d83 <-- ret
0x14efb68  NpcScript::onCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)(0x5a0f06)
0x14efb6c | 0x2284138 -> 0x814d08
0x14efb70 | 0x3
0x14efb74 | 0x40100000 -> 0xb0005
0x14efb78 | 0
0x14efb7c | 0x1da4288 -> 0x7e765c
0x14efb80 | 0x4
0x14efb84 | 0x14efc24 -> 0x14efcf4 \\\\\\ stack frame //////
0x14efb88 | 0x591d9c -> 0x1107d83 <-- ret
0x14efb88  Npc::onCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)(0x591ce2)
0x14efb8c | 0x1d988d0 -> 0x816c28
0x14efb90 | 0x2fbec98 -> 0x81584c
0x14efb94 | 0x4
0x14efb98 | 0x1da428c -> 0x6b1ddde4
0x14efb9c | 0
0x14efba0 | 0xb
0x14efba4 | 0xfffffff5
0x14efba8 | 0xb
0x14efbec  Npc::onCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)(0x591ce2)
0x14efc00 | 0x7dd54c -> 0x201ffff
0x14efc04 | 0x14efc18 -> 0
0x14efc08 | 0x565d46 -> 0x8b0c6d8d
0x14efc08  Map::getSpectators(std::list<Creature*, std::allocator<Creature*> >&, Position const&, bool, bool, int, int, int, int)(0x565b22)
0x14efc0c | 0x14efb8c -> 0x1d988d0
0x14efc10 | 0x42ec976c -> 0x1f71e38
0x14efc14 | 0x14efc24 -> 0x14efcf4
0x14efc18 | 0
0x14efc1c | 0x1da4288 -> 0x7e765c
0x14efc20 | 0x4
0x14efc24 | 0x14efcf4 -> 0x14efe14 \\\\\\ stack frame //////
0x14efc28 | 0x480209 -> 0x8980458d <-- ret
0x14efc28  Game::playerSpeakToNpc(Player*, std::string const&)(0x4800a8)
0x14efc2c | 0x38f2a88 -> 0x814e8c
0x14efc30 | 0x2fbec98 -> 0x81584c
0x14efc34 | 0x4
0x14efc38 | 0x1da428c -> 0x6b1ddde4
0x14efc3c | 0
0x14efc40 | 0xfffffff5
0x14efc44 | 0xb
0x14efc48 | 0xfffffff5
0x14efc5c  Player::removeMessageBuffer()(0x5bd944)
0x14efc9c  Game::playerSpeakToNpc(Player*, std::string const&)(0x4800a8)
0x14efcd0 | 0x37dc8d18 -> 0x14efccc
0x14efcd4 | 0x14efcf4 -> 0x14efe14
0x14efcd8 | 0x467097 -> 0x575c084
0x14efcd8  Game::getPlayerByID(unsigned int)(0x46705e)
0x14efcdc | 0x2fbec98 -> 0x81584c
0x14efce0 | 0x14efd00 -> 0x2fbec98
0x14efce4 | 0x7c829fb5 -> 0x5d5e01b0
0x14efce8 | 0
0x14efcec | 0x1da4288 -> 0x7e765c
0x14efcf0 | 0x4
0x14efcf4 | 0x14efe14 -> 0x14efe54 \\\\\\ stack frame //////
0x14efcf8 | 0x47eb3a -> 0x89c0b60f <-- ret
0x14efcf8  Game::playerSay(unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&)(0x47e554)
0x14efcfc | 0x81a240 -> 0x815248
0x14efd00 | 0x2fbec98 -> 0x81584c
0x14efd04 | 0x1da428c -> 0x6b1ddde4
0x14efd08 | 0x1da428c -> 0x6b1ddde4
0x14efd0c | 0x14efdec -> 0
0x14efd10 | 0x7c829f3d -> 0x840fc084
0x14efd14 | 0x3d07a8 -> 0x3557f8a0
0x14efd18 | 0x7c829f59 -> 0x90000cc2
0x14efd6c  Game::playerSay(unsigned int, unsigned short, SpeakClasses, std::string const&, std::string const&)(0x47e554)
0x14efdf0 | 0x1d0
0x14efdf4 | 0x77bda1b2 -> 0xccccc3c9
0x14efdf8 | 0xcca1f24
0x14efdfc | 0xfa3f2fc0
0x14efe00 | 0x1c963b6 -> 0x340c4
0x14efe04 | 0x3557f8a0 -> 0x2ce77588
0x14efe08 | 0
0x14efe0c | 0x1da4288 -> 0x7e765c
0x14efe10 | 0x4
0x14efe14 | 0x14efe54 -> 0x14efef4 \\\\\\ stack frame //////
0x14efe18 | 0x7383c6 -> 0x8bf45d8b <-- ret
0x14efe1c | 0x81a240 -> 0x815248
0x14efe20 | 0x10003066 -> 0xc9332774
0x14efe24 | 0
0x14efe28 | 0x4
0x14efe2c | 0x1da4288 -> 0x7e765c
0x14efe30 | 0x1da428c -> 0x6b1ddde4
0x14efe34 | 0x1da428c -> 0x6b1ddde4
0x14efe38 | 0x6c8a5d -> 0x9090c3c9
0x14efe3c | 0
0x14efe40 | 0x10003066 -> 0xc9332774
0x14efe44 | 0x81a240 -> 0x815248
0x14efe48 | 0x12290e8 -> 0x8142c8
0x14efe4c | 0x1d0
0x14efe50 | 0
0x14efe54 | 0x14efef4 -> 0x14eff84 \\\\\\ stack frame //////
0x14efe58 | 0x76e557 -> 0x8984458d <-- ret
0x14efe5c | 0x42af7858 -> 0x1da4270
0x14efe60 | 0
0x14efe64 | 0x14efef4 -> 0x14eff84
0x14efe68 | 0x18
0x14efe6c | 0x3
0x14efe70 | 0x17d0b
0x14efe74 | 0x42af7854 -> 0x7e79ac
0x14efe78 | 0x22f33c -> 0x22f7cc
0x14efeb8  OutputMessagePool::startExecutionFrame()(0x5aa65e)
0x14efed0 | 0x29
0x14efed4 | 0x77bb0000 -> 0xba102015
0x14efed8 | 0x6c8a5d -> 0x9090c3c9
0x14efedc | 0x3144c60 -> 0x27e4d740
0x14efee0 | 0x77e61d43 -> 0x90000cc2
0x14efee4 | 0x14efef4 -> 0x14eff84
0x14efee8 | 0x12290e8 -> 0x8142c8
0x14efeec | 0x1d0
0x14efef0 | 0
0x14efef4 | 0x14eff84 -> 0x14effb8 \\\\\\ stack frame //////
0x14efef8 | 0x637434 -> 0x907d83 <-- ret
0x14efef8  Dispatcher::dispatcherThread(void*)(0x637118)
0x14efefc | 0x42af7854 -> 0x7e79ac
0x14eff00 | 0xffffffff
0x14eff04 | 0
0x14eff08 | 0xba24dc1c
0x14eff0c | 0x3d0000 -> 0xc8
0x14eff10 | 0
0x14eff14 | 0x42af7850 -> 0x8153b8
0x14eff18 | 0x22febc -> 0
0x14eff3c  Dispatcher::dispatcherThread(void*)(0x637118)
0x14eff60 | 0x14effa8 -> 0x14effdc
0x14eff64 | 0x45dd24 -> 0x57e58955
0x14eff64  _SEHHandler(_EXCEPTION_RECORD*, void*, _CONTEXT*, void*)(0x45dd24)
0x14eff68 | 0
0x14eff6c | 0x14eff50 -> 0x1d0
0x14eff70 | 0
0x14eff74 | 0x14effa8 -> 0x14effdc
0x14eff78 | 0x12290e8 -> 0x8142c8
0x14eff7c | 0x1229198 -> 0x1e9c
0x14eff80 | 0
0x14eff84 | 0x14effb8 -> 0x14effec \\\\\\ stack frame //////
0x14eff88 | 0x77bcb3ca -> 0xff4fe859 <-- ret
0x14eff8c | 0
0x14eff90 | 0
0x14eff94 | 0
0x14eff98 | 0x12290e8 -> 0x8142c8
0x14eff9c | 0x1
0x14effa0 | 0x14eff90 -> 0
0x14effa4 | 0x8082e00b
0x14effa8 | 0x14effdc -> 0xffffffff
0x14effac | 0x77bc6c74 -> 0x83ec8b55
0x14effb0 | 0x77ba4138 -> 0xffffffff
0x14effb4 | 0
0x14effb8 | 0x14effec -> 0 \\\\\\ stack frame //////
0x14effbc | 0x77e64829 -> 0xb0c2e850 <-- ret
0x14effc0 | 0x12290e8 -> 0x8142c8
0x14effc4 | 0
0x14effc8 | 0
0x14effcc | 0x12290e8 -> 0x8142c8
0x14effd0 | 0
0x14effd4 | 0x14effc4 -> 0
0x14effd8 | 0x8083313c
0x14effdc | 0xffffffff
0x14effe0 | 0x77e61a60 -> 0x83ec8b55
0x14effe4 | 0x77e64830 -> 0xffffffff
0x14effe8 | 0
0x14effec | 0 \\\\\\ stack frame //////
0x14efff0 | 0 <-- ret
0x14efff4 | 0x77bcb35a -> 0x38680c6a
0x14efff8 | 0x12290e8 -> 0x8142c8
0x14efffc | 0
*****************************************************
 
error create item

when there is talk that item cause error in executable
or when you try to do item without the ,

eg: /i 2160 30 <
eg: /i lol <

when you get to do without the comma, just deny, and when you do item that does not exist, only that there is no message to give, not to be giving error in the executable.
 
Does anyone know if the addons will be fixed in beta 2?
 
The user "Jo3Bingham" post a solution for this:

In data/npc/scripts/addons.lua in the buyAddons function under
Code:
doPlayerAddAddons(cid, addon)
add
Code:
local addons = getPlayerStorageValue(cid, 144651)
if addons == 1 and addon == 2 then
	setPlayerStorageValue(cid, 144651, 3)
elseif addons == 2 and addon == 1 then
	setPlayerStorageValue(cid, 144651, 3)
else
	setPlayerStorageValue(cid, 144651, addon)
end
Now in data/creaturescripts/scripts/ make a new script file (I named mine checkaddons.lua) and put this:
Code:
function onLogin(cid)
	local addon = getPlayerStorageValue(cid, 144651)
	if addon ~= -1 then
		doPlayerAddAddons(cid, addon)
	end
	return TRUE
end
then in data/creaturescripts/creaturescripts.xml add the new event
Code:
<event type="login" name="CheckAddons" script="checkaddons.lua"/>

All credits to Jo3Bingham.
 
I'm pretty sure elf posted saying he had already fixed it in the private svn, so yeah it'll be fixed.

Jo3

Actually I was almost sure I did fix it in PL2, but seems like didn't. Anyway it was fixed, so you don't care to care as of Beta 2 will contain it. Just 2 TODOs left (hope Talaturen will help me).
 
Last edited:
Please fix spell find person

Find Person

* When the person is on same level and 0 to 4 squares away, they are "standing next to you"
* When the person is on same level and 5 to 100 squares away they are "to the north/west/south/east."
* When the person is on any level and 101 to 274 squares away they are "far to the north/west/south/east."
* When the person is on any level and 275+ squares away they are "very far to the north/west/south/east."
* When the person is not directly north/west/south/east of you they are "((very) far) to the north-west/south-west/south-east/north-east."
* When the person is on a lower or higher level and 5 to 100 squares away they are "on a lower (or) higher level to the north/west/south/east."
* When the person is on a lower or higher level and 0 to 4 squares away they are "below (or) above you."
 
Status
Not open for further replies.
Back
Top