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

Remove skull system

Eldora

Banned User
Joined
Oct 19, 2009
Messages
604
Reaction score
26
How can i remove skulls completely from my server?
So that skull doesn't appear when players attack eachother?
 
in your sources
Don't get PK if attack unmarked player
In players.cpp remove:
LUA:
if(skull == SKULL_NONE)
	{
		if(targetPlayer->getSkull() != SKULL_NONE)
			targetPlayer->sendCreatureSkull(this);
		else if(!hasCustomFlag(PlayerCustomFlag_NotGainSkull))
		{
			setSkull(SKULL_WHITE);
			g_game.updateCreatureSkull(this);
		}
	}

post for see more is http://otland.net/f35/every-changes-you-need-hardcore-war-server-132897/
 
Need compiling your sources for remove skull and compiling
in config.lua put worldtype = hardcore
and in your sources
Don't get PK if attack unmarked player
In players.cpp remove:
LUA:
if(skull == SKULL_NONE)
	{
		if(targetPlayer->getSkull() != SKULL_NONE)
			targetPlayer->sendCreatureSkull(this);
		else if(!hasCustomFlag(PlayerCustomFlag_NotGainSkull))
		{
			setSkull(SKULL_WHITE);
			g_game.updateCreatureSkull(this);
		}
	}

post for see more is http://otland.net/f35/every-changes-you-need-hardcore-war-server-132897/


And then i save the sources as a .exe? How do i do it then?
 
You go to tutorials and search guide for compiling ,are you use windows or linux and read how compiling.. you in subversion can download sources files and in tutorials you can see how compiling ,but you need sources and edit players.cpp.
 
You go to tutorials and search guide for compiling ,are you use windows or linux and read how compiling.. you in subversion can download sources files and in tutorials you can see how compiling ,but you need sources and edit players.cpp.

I have been looking for a tutorial.
But none show how to save the source folder to a .exe file? if the is how you do...
They only tell you to use Dev-C++ and edit
 
Is easy only look. you download sources put compiling and created .exe 1.. you open player.cpp and remove line i say u

How do i put compiling and create the exe?

- - - Updated - - -

Is easy only look. you download sources put compiling and created .exe 1.. you open player.cpp and remove line i say u

How do i save the project as .exe?
 
Back
Top