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

[C++] Where to change...

Fresh

Quack!
Joined
Oct 21, 2009
Messages
1,855
Solutions
18
Reaction score
671
Hello.
I have stupid question :$
Where to change limit of display magiceffects ?
I got new magiceffects in my client but on ot not display if i type /z 149

Where to change it on C++ ?
I need to change it for highest value ex. MAX = 200 magic effects.


PS.
I got bug with LOADING MONSTERS...
My engine starts well, loading all tables etc and on loading monsters is crash...
I checked all monsters and if i remove:
Code:
<defenses>
</defenses>
[code]
these lines, OT starts with 0 crashes...
This is c++ problem too ?
 
1. If you use tfs do open source:
const.h
Code:
...
after	MAGIC_EFFECT_INSECTS		= 0x44, //68
add     [COLOR="Lime"]MAGIC_NAME_YOUR_EFFECT          = 0x95[/COLOR], //149 # FIXED!!!
change	MAGIC_EFFECT_LAST		= [COLOR="Lime"]MAGIC_NAME_YOUR_EFFECT[/COLOR],
...
and tools.cpp
Code:
...
after	{"insects",		MAGIC_EFFECT_INSECTS}[COLOR="Red"],[/COLOR] //dont forgotten add " , "
add     [COLOR="Lime"]{"name",		MAGIC_NAME_YOUR_EFFECT}[/COLOR]
...


You edit monster.cpp source some time?
 
Last edited:

Similar threads

Back
Top