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

Server crash on map loading

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Staff member
Board Moderator
Joined
Dec 17, 2011
Messages
1,769
Solutions
31
Reaction score
1,008
Location
Santiago - Chile
When I try to start server it crashes at map loading, here's a screenshot
before this happened, server was working very well but when i paste a little piece of map on the main map, the server started to crash
as u can see, distro is the forgotten server edited by cyko (v8)

dn0ohv.png
 
right click on theforgottenserverv8.2 64 bit and properties/then locate to second tab which is called compability/press Run this program in compability for the windows u have/than go in the bottom or mid and check run this program as an administartor
 
You can do what 999109 posted or use a different libmysql.dll.
http://www.speedy*****malware.localhost/CrUJg/libmysql.dll

Also make sure to delete those duplicate uniqueids from the map.
R35JBTCNq.png

An uniqueid can not be used more than once.
 
You can do what 999109 posted or use a different libmysql.dll.
http://www.speedy*****malware.localhost/CrUJg/libmysql.dll

Also make sure to delete those duplicate uniqueids from the map.
R35JBTCNq.png

An uniqueid can not be used more than once.

Sorry my humle global mod, But you're so wrong about that (Unless TFS have done something to fuck that up).
You can use same unique id 50000000000000000 times over and over, that should not cause the game to crash.
depending on your server systems, you might have to use same unique over and over, if you don't have system for that, it may just mean you got a quest working identical at 2 places.

@Topic,
unique id's errors are more seen as warnings.. like "hey mate, you know that you got 2 unique ids used?".
If you're experienced and know what you're doing you can remove those warnings like I did many years ago because in my servers I'm using same unique id over and over for some type of actions, and warnings about that is just waste of space for me.
 
The first line I posted is for the crash, the part about the uniqueids is just because uniqueids shouldn't be used more than once, this not only causes warnings but can also cause problems with scripts.
 
The first line I posted is for the crash, the part about the uniqueids is just because uniqueids shouldn't be used more than once, this not only causes warnings but can also cause problems with scripts.

Only if scripts are made very poorly it will cause problems.
If you have 0 control over how they're used and how the scripts are done, ofc it will cause huge problems.
But if you have control and a structure how to use them, the game will not only be more stable, but you can use same unique ids over and over.

Saying unique id's shouldn't be used twice is really a newbie advice, you confuse people willing to learn and make them think it would be the end of the world using 2 unique ids.
So if I were you I would't blame the crash on them and then say he CAN'T CAN'T CAN'T CAN'T CAN'T use them twice.

tell what's real and don't advice people not to use them twice if they had the idea on trying out own and new structures for how to use them.

No offense, but really.. people talk lots about people lately wont grow own skills in scripting.. well if they keep getting "DON'T DO THAT!!!!!!" ofc they stay in the shade and leave the heavy work to those who helps in the request boards.
 
if it happens only with EXACT AREA you paste, but pasting stuff from other maps works, it means that otbm file is corrupted
if it happens everytime you try to edit your map, try different mapeditor version
 
So if I were you I would't blame the crash on them and then say he CAN'T CAN'T CAN'T CAN'T CAN'T use them twice.
Not sure if you are just trolling, but I think I made pretty clear that the first line was for the crash and the rest just for these warnings.
I wouldn't advice people to use uniqueids more than once since it gives warnings, could cause problems with scripts and there is simply no reason to do it since you can just use different ones or actionids.

The crash is most likely caused by the dll file, which is a quite common problem for people who are using this server.
If the problem is with the dll file(s), it can also be solved with the way 999109 posted.
 
Not sure if you are just trolling, but I think I made pretty clear that the first line was for the crash and the rest just for these warnings.
I wouldn't advice people to use uniqueids more than once since it gives warnings, could cause problems with scripts and there is simply no reason to do it since you can just use different ones or actionids.

The crash is most likely caused by the dll file, which is a quite common problem for people who are using this server.
If the problem is with the dll file(s), it can also be solved with the way 999109 posted.
I have question limos its about map? Can i use same map from 0.3.6 to 0.4?
 
You can use any map on any server as long as it doesn't contain sprites that don't exist in the items.otb/client your server is using.
So basicly you can't use maps from higher clients, but you can use for example a 8.6 map in a server for client 9.6.
You can ofc always change the client version of the map in Remere with Map, Properties, Client Version. This will remove sprites from higher clients.
 
Not sure if you are just trolling, but I think I made pretty clear that the first line was for the crash and the rest just for these warnings.
I wouldn't advice people to use uniqueids more than once since it gives warnings, could cause problems with scripts and there is simply no reason to do it since you can just use different ones or actionids.

The crash is most likely caused by the dll file, which is a quite common problem for people who are using this server.
If the problem is with the dll file(s), it can also be solved with the way 999109 posted.

I'm not trolling, like I said in a earlier post, if you're serious about a project it's better remove the warning functions directly from the C++.
using "other ones" seems easy yeah, but what about the day you've used all?
The biggest action-used server I've had is my current one "DarkOT" that are using more than 50,000 Uniqueids atm... and everytime I make an update, more is used.
use about 50-200 every update, 1 update every week, and you do that over a timespan of 8 years as the age of the files behind DarkOT is about to turn.

Easy math says I'd use 6,5k unique per year (AVG 50-200 = 125*52=6.5k), make that 8 years and we're up to 52,000 unique ids.
So with that said, lets assume I will continue like I've always done, and take it that I will do this shit for another 2 years, Oh shit... now I've used up all "original allowed unique ids" which is 100-65k.
Would you then again tell me "don't use double" and just left me hearbroken because I've used all and can't continue doing new stuffs...

But I can tell you a secret.. if you want shit to work the way you want, and make it harder for you to make bugs.. you start combining action ids with unique.

Me myself I designed a action system to sort all types of actions up between several files.
The actionfile tells what kind of shit is happening... in my case action-id 8000 = quest in mainland, 7000 = quest in Rook..
All my quests is using actionid 8000 or 7000.
then it's the sub-systems that listens for the unique ids, which make sure you wont get demon helmet in amazon quest and vice versa.

All switches are also on the same action id with multiple unique separating them. but in the switches unique's may match the quests one =)

Do you understand my point now then?
And if it seems like I'm bitching against you, that's not my point, my point is to give you a new perspective and hope you consider it and let that new perspective help you to gain more experiences in the future how to handle coding.

Edit:
In your world, I'm allowed to use 65k action ids, and 65k unique ids.
In total you may do 130,000 stuffs in your server.

In my world I'm allowed to use all action ids and unique ids combined.
That's 65,000 * 65,000.
So I'm allowed to do 4,225,000,000 stuffs before I'm running out of action/unique ids.
 
Last edited:
@dip'ah
Please do not bloat support board threads with offtopic discussion in the future.
Stay on topic and help in the progress of solving the issue.

If that is how you used unique ids then you did it wrong all the time.
Here is a definition: http://dictionary.reference.com/browse/unique
The concept of unique ids is to only exist once, action ids can be reused.
 
Me myself I designed a action system to sort all types of actions up between several files.
The actionfile tells what kind of shit is happening... in my case action-id 8000 = quest in mainland, 7000 = quest in Rook..
All my quests is using actionid 8000 or 7000.
then it's the sub-systems that listens for the unique ids, which make sure you wont get demon helmet in amazon quest and vice versa.
I just made a file named valueindex.txt to know which values are taken already xD


In total you may do 130,000 stuffs in your server.
or use lots of items with same actionid and check their id/pos/something in scripts
 
@dip'ah
Please do not bloat support board threads with offtopic discussion in the future.
Stay on topic and help in the progress of solving the issue.

If that is how you used unique ids then you did it wrong all the time.
Here is a definition: http://dictionary.reference.com/browse/unique
The concept of unique ids is to only exist once, action ids can be reused.

Unique is a name, not a law..
And it's not something that crash systems using it more than once.

And you should really read my last post with that you guys want only 130k actions while my way to do it allows 4225kk actions.
beside, using 1 unique id once will be messy, sooner or later..
It's like having a library irl, you can't use covers to separate books, all need to be sticked together so in the end you have 1 book with 500kk pages.

And it's not exactly offtopic, the thread is about unique errors and a crash, I pointed out something about unique that the guy should stop and fall on those and be more about "what could really be wrong".
And if that's not helping then I dunno....

I just made a file named valueindex.txt to know which values are taken already xD
or use lots of items with same actionid and check their id/pos/something in scripts

Why keep track of item's id's and mess with that?
My system make me allowed to switch a quest box to a tree, or to a wall or wtf I want without I have to edit any text file, If a player report a quest box is wrong, it should be lava hole.. then fine, open map editor and replace the box with lava hole and set the previous action/unique id and we're done.
No need to open any lua files or anything.

My system is ordered in such a way, that you could ask me any random question about DarkOT and I'd find the answer in 1 minute. Any question.
It's so well ordered that it's like a wikia with a quick-search in my server.

I've been known for that when a player contact me about a bug, it's already fixed as he's talking about it.
 
You can do what 999109 posted or use a different libmysql.dll.
http://www.speedy*****malware.localhost/CrUJg/libmysql.dll

Also make sure to delete those duplicate uniqueids from the map.

thx but it didnt work, ive just delete map and started all again (making backups in case of new crashes)
i tried 999109's solution too but zbizu is right, my otbm file is corrupted

Can we take this in PM ? i dont wanna ruin someones thread!

this discussion about unique ids is a good way to learn more haha no prob about ruining this thread
anyways, thanks everyone for respond!

edit
I got one question @ralke
Did you compile the .exe yourself?

nope :p
 
You don't really need to start from scratch. Copy your map part by part, try starting server and do backups until you copy everything but bugged tile.

I had similiar problem and that is how I solved it.
 
Back
Top