• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Error code on Otcv8 client!

Wusse

Member
Joined
Oct 3, 2023
Messages
95
Solutions
2
Reaction score
23
Hey guys!

TFS 1.4.2 10.98

im getting these errors on the client terminal each second and i dont really know why, i was looking into src/const.h with hopes to understand the issue but i didnt really find something out of the ordinary.

Error picture: Gyazo (https://gyazo.com/3036b1749578d523f51ae3acf720d80a)

Error text:

Code:
ERROR: invalid effect id 0
at:
    [C++]: ?parseMagicEffect@ProtocolGame@@AAEXABV?$shared_object_ptr@VInputMessage@@@stdext@@

Help is highly appreciated!

best regards,
Wusse
 
Last edited:
Solution
Nope , this related to data check your scripts it's not related to source files I assume
Yeah! I had that assumtion aswell made one check on a script but that was not The issue so all I need to do is find The script that makes The error happen

It should be CONST_ME_NONE i think since its effect id 0, could be wrong tho

Imma go through all scripts one by one and hopefully find The issue, thanks for your insight!
Post automatically merged:

@Obito
I did find the script that makes the Error appear and resolved it accordingly!
Hey guys!

TFS 1.4.2 10.98

im getting these errors on the client terminal each second and i dont really know why, i was looking into src/const.h with hopes to understand the issue but i didnt really find something out of the ordinary.

Error picture: Gyazo (https://gyazo.com/3036b1749578d523f51ae3acf720d80a)

Error text:

Code:
ERROR: invalid effect id 0
at:
    [C++]: ?parseMagicEffect@ProtocolGame@@AAEXABV?$shared_object_ptr@VInputMessage@@@stdext@@

Help is highly appreciated!

best regards,
Wusse
Check your server-side files; this error is related to sendMagicEffect.
 
Check your server-side files; this error is related to sendMagicEffect.
Server-side files are The source codes of The server im assuming?

And I did check const.h in SRC but im not really sure what to look for :(, i have a hard time telling what could cause The issue.

ill Try when i get home to take another look into sendMagicEffect
 
Server-side files are The source codes of The server im assuming?

And I did check const.h in SRC but im not really sure what to look for :(, i have a hard time telling what could cause The issue.

ill Try when i get home to take another look into sendMagicEffect
Nope , this related to data check your scripts it's not related to source files I assume
 
Nope , this related to data check your scripts it's not related to source files I assume
Yeah! I had that assumtion aswell made one check on a script but that was not The issue so all I need to do is find The script that makes The error happen

It should be CONST_ME_NONE i think since its effect id 0, could be wrong tho

Imma go through all scripts one by one and hopefully find The issue, thanks for your insight!
Post automatically merged:

@Obito
I did find the script that makes the Error appear and resolved it accordingly!
 
Last edited:
Solution
@Wusse, could you share what you did to fix it?
I have the same issue
Open package rar, where you downloaded server, will be faster to find this line.
Go to data folder, click search, in search window, write > 0

Look for, > some_magic_effect_here = 0
And change this to, > some_magic_effect_here = CONST_ME_NONE
 
thanks @Allynn, I find out that on my rune conjuring scripts was missing an effect, and that was crashing tibia 8.6 client.
so, was like this
LUA:
return creature:conjureItem(2260, 2262, 2)
then I added this
LUA:
return creature:conjureItem(2260, 2262, 2, CONST_ME_MAGIC_BLUE)
no new crashes was recorded, but I'm curious to see what was @Wusse issue.
 
thanks @Allynn, I find out that on my rune conjuring scripts was missing an effect, and that was crashing tibia 8.6 client.
so, was like this
LUA:
return creature:conjureItem(2260, 2262, 2)
then I added this
LUA:
return creature:conjureItem(2260, 2262, 2, CONST_ME_MAGIC_BLUE)
no new crashes was recorded, but I'm curious to see what was @Wusse issue.
Hi and sorry for a slow reply!

This was so long ago that i barely remember the issue... but if i remember correctly it was something with me trying to parse CONST_ME_NONE and the solution was for me to use 0 instead and that seemed to fix it.

its like @Allynn said but instead of me changing the "some_magic_effect = 0" to "some_magic_effect = CONST_ME_NONE" i simply used "0" instead.
 
Last edited:
Back
Top