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

Lua Map Loading

Shawak

Intermediate OT User
Joined
Sep 11, 2008
Messages
1,984
Solutions
2
Reaction score
120
Location
Germany
GitHub
Shawak
Is there any way to disable this:
Code:
[17/10/2009 16:42:13] Duplicate uniqueId 5000
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5002
[17/10/2009 16:42:13] Duplicate uniqueId 5001
[17/10/2009 16:42:13] Duplicate uniqueId 5001
[17/10/2009 16:42:13] Duplicate uniqueId 5001
 
Is there any way to disable this:
Code:
[17/10/2009 16:42:13] Duplicate uniqueId 5000
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5003
[17/10/2009 16:42:13] Duplicate uniqueId 5002
[17/10/2009 16:42:13] Duplicate uniqueId 5001
[17/10/2009 16:42:13] Duplicate uniqueId 5001
[17/10/2009 16:42:13] Duplicate uniqueId 5001

cant u destroy it with an map editor?!..
 
That'd be really helpful.
Cause in order to make that go away, I'd have to recode or copy a script around 70 times. Which uses IDs, takes forever, and raises probability for error.

Agreed.
Red
 
then why you use same unique ids ???? cant you see it ? UNIQUE id.... It's supposed to be unique!

Need source edit to change that, but I suggest you not to. Fix the issue the way it's supposed to be fixed instead !
 
Do you even know how the unique id system works? There is a reason why you are not allowed to have duplicate unique ids, not only because it's called "unique" but also because it has to be unique!

When you make a script, don't you use to write:
doRemoveItem(uid)

Right? If you have an item that you have not put a predefined unique id, this unique id will change constantly. But if you have put a unique id yourself, it will have that one.

So if you have something with unique id e.g. 3904 and you write:
doRemoveItem(3904)

Then your item with unique id 3904 will be removed! So how would it then be able to remove the correct item if there was more than just one with unique id 3904? Now, please don't tell me to fuck off again (even though you didn't directly tell it to me, you still meant it to anyone who tried to tell you to rescript).


I'm dumb to even help you, I usually don't help rude people who don't take advices.
 
hmm use notepad++ files multi replace functions
geez it's hard to make them@C++
 
Do you even know how the unique id system works? There is a reason why you are not allowed to have duplicate unique ids, not only because it's called "unique" but also because it has to be unique!

When you make a script, don't you use to write:
doRemoveItem(uid)

Right? If you have an item that you have not put a predefined unique id, this unique id will change constantly. But if you have put a unique id yourself, it will have that one.

So if you have something with unique id e.g. 3904 and you write:
doRemoveItem(3904)

Then your item with unique id 3904 will be removed! So how would it then be able to remove the correct item if there was more than just one with unique id 3904? Now, please don't tell me to fuck off again (even though you didn't directly tell it to me, you still meant it to anyone who tried to tell you to rescript).


I'm dumb to even help you, I usually don't help rude people who don't take advices.

So if I have 2 unique id's it will becoming bugged perhaps?
 
Back
Top