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

REPORT ALL 0.2 BUGS HERE (latest 0.2 svn)!

Status
Not open for further replies.
@mbz
Well, Sorry for the spam, But I really need help and just ask me what you want for informations and I'll answer.
@Elf
I'm sorry but I really need help and nobody answered me.. I just want too know what too do, I really need help..
 
@mbz
Well, Sorry for the spam, But I really need help and just ask me what you want for informations and I'll answer.
@Elf
I'm sorry but I really need help and nobody answered me.. I just want too know what too do, I really need help..
If you want your problem solved, you need to bring us some more information.
Compile trunk yourself with compiler flags:
-D__EXCEPTION_TRACER__
-D__TRACK_NETWORK__
and linker:
-Wl,-Map=forgottenserver.map

Then remember to copy generated forgottenserver.map to same folder as the .exe file you've compiled.
 
If you want your problem solved, you need to bring us some more information.
Compile trunk yourself with compiler flags:
-D__EXCEPTION_TRACER__
-D__TRACK_NETWORK__
and linker:
-Wl,-Map=forgottenserver.map

Then remember to copy generated forgottenserver.map to same folder as the .exe file you've compiled.

The problem is I dont know how to download the trunk from toroise svn or something, if you have the source and could upload it someone and Ill download and compile it..
 
I'm using version TFS 2.12.
Mail system and exp share doesn't work.
 
1. Download TortoiseSVN
2. Create folder and name it 'TFS'
3. Click right button on it and click 'SVN Checkout'
4. Type address: http://forgottenserver.svn.sourceforge.net/svnroot/forgottenserver/forgottenserver/tags/0.2
5. Follow the compiling instructions
Here is a ss of the error I get, I tought you want too see it.
error.jpg
 
After the memory increasing in use rapidly the server crashed, I got this error in console (65% memory). This was tested after around 15 hours uptime.

terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted (core dumped)

This is the core file.

1.
#0 0xb7f0a410 in ?? ()
2.
#1 0xb6370e5c in ?? ()
3.
#2 0x00000006 in ?? ()
4.
#3 0x00004338 in ?? ()
5.
#4 0xb785b811 in raise () from /lib/tls/i686/cmov/libc.so.6
6.
#5 0xb785cfb9 in abort () from /lib/tls/i686/cmov/libc.so.6
7.
#6 0xb7a47994 in __gnu_cxx::__verbose_terminate_handler ()
8.
from /usr/lib/libstdc++.so.6
9.
#7 0xb7a453b5 in std::set_unexpected () from /usr/lib/libstdc++.so.6
10.
#8 0xb7a453f2 in std::terminate () from /usr/lib/libstdc++.so.6
11.
#9 0xb7a4552a in __cxa_throw () from /usr/lib/libstdc++.so.6
12.
#10 0xb7a4596b in operator new () from /usr/lib/libstdc++.so.6
13.
#11 0x08130103 in OutputMessagePool::getOutputMessage ()
14.
#12 0x08149e0a in Protocol::getOutputBuffer ()
15.
#13 0x0814ab55 in ProtocolGame::sendMagicEffect ()
16.
#14 0x080a4ec3 in Game::addMagicEffect ()
17.
#15 0x080a6808 in Game::combatBlockHit ()
18.
#16 0x08077d8b in Combat::CombatHealthFunc ()
19.
#17 0x08078c6d in Combat::doCombatHealth ()
20.
#18 0x08079df2 in Combat::doCombat ()
21.
#19 0x081788f7 in CombatSpell::castSpell ()
22.
#20 0x08114372 in Monster::doAttacking ()
23.
#21 0x080639a8 in Creature::eek:nAttacking ()

I've reported this under SVN bug report on **fans, but they seem to think this was fixed, so maybe the fix was patched wrongly?

~Kiwi Dan~
 
Known issues:
* After restarting server sleeper name in beds is set to 'Nobody'.
* Attributes are not properly saved or loaded in SQLite.
* Follow system is slow.
* Closing the server makes it go into infinte loop.
* Fixed.
* Will look at that when I'll have time.
* Partially fixed (there's only a delay after you select a target to follow).
* Still working.

Update the list :thumbup:

I'm using tags >.<

The latest trunk is realy stable? :eek:

What compiling params (optmizations, etc) are you using?
Code:
CFLAGS = -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2

LIBLINK = -L/usr/lib -lxml2 -lpthread -llua5.1 -lboost_thread -lgmp -lmysqlclient -lboost_regex -lsqlite3 -llua5.1-sql-mysql -llua5.1-sql-sqlite -ldl -lboost_system

FLAGS = -D__USE_MYSQL__ -D__USE_SQLITE__ -D__NO_HOMEDIR_CONF__ -D__LOGIN_SERVER__

OBJ = account.o actions.o admin.o allocator.o baseevents.o beds.o creature.o creatureevent.o chat.o combat.o commands.o condition.o configmanager.o connection.o container.o cylinder.o database.o databasemysql.o databasesqlite.o depot.o exception.o fileloader.o game.o gameservers.o gui.o house.o housetile.o ioban.o ioguild.o iologindata.o iomap.o iomapserialize.o inputbox.o item.o items.o logger.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o player.o playerbox.o position.o protocol.o protocolgame.o protocollogin.o quests.o raids.o rsa.o scheduler.o scriptmanager.o server.o sha1.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o vocation.o waitlist.o weapons.o

all: forgottenserver

new: clean forgottenserver

clean:
	rm -rf *.o

forgottenserver: $(OBJ)
	g++ $(CFLAGS) $(FLAGS) -o ./ForgottenServer $(OBJ) $(LIBLINK)

    %.o:%.cpp
	g++ $(CFLAGS) $(FLAGS) -c $+
 
Last edited:
Theres a pvp arena bug... example im ataking Elf and i got killed by elf and come talatauren and kill elf i take the unjust of elf.... used to waste the unjusts of my users XD
 
Latest tags revision: compiling error.

Code:
g++.exe -c ../otserv.cpp -o obj/otserv.o -I"include"  -D__USE_MYSQL__   -O1

../otserv.cpp: In function `LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)':
../otserv.cpp:1065: error: 'class Game' has no member named 'saveData'

make.exe: *** [obj/otserv.o] Error 1

Execution terminated
 
Hi , i was woundering how to i get the oracle npc since its not in the NPC at Data ?
 
When I'm downloading TFS .exe file (rev 770) it works fine to login but as soon as I download the sources, compile I can't login. Its like I'm logging in and out at the same time.
Code:
[18/05/2008  15:19:48] Kadj has logged in.
[18/05/2008  15:19:48] Kadj has logged out.

Just like that.

Also, when I try to compile it says it couldn't find these:
Code:
-lregex
-lluasql-mysql
-lluasql-sqlite3
so I changed them into:
Code:
-lboost_regex
-lluasql_mysql
-lluasql_sqlite


Can anyone explain what the problem is?
 
Another bug I also find is that if you have a summon and it is getting attacked, dies at the same time as you logout/relogg the server crashes.
 
Status
Not open for further replies.
Back
Top