safe zone and other things
this isnt really a question, but ive been toying with map files, through the map files i was able to remove safe zones, and add them, this has no advantage, but for pk servers this kinda ruins it, cause i made a safe zone all through the map, took some time to do but after i did it, i couldnt pk anyone and they couldnt pk me o.o, shouldnt this be a problem? and i mean by editing the client safe zones the servers map files dont seem to matter at all.
also if i made minor changes to the data files "any big would give errors", i could lower cool downs on some things such as pills, etc, was just thinking. maybe having map files and data files exposed, could give a few problems for future private servers.
and this whole thread i mean, i can do this to any private server i played, that had data files open and etc.
Re: safe zone and other things
Yes that is a danger to those that know how to edit files.. also u can walk through any hh doors if u change name of 2 folders.. there will always be vulnerability
Re: safe zone and other things
Hi !
Some time ago i removed all default safezones and created new ones for my server, i can say for sure that safezones are entirely serverside, client is only displaying if you entered one or not when the server tells it to do so... they are controled by the region.sev file...the client region.clt is only used for displaying area names, the background music and day / night sound effects...you can modify it as much as you want but the only thing you will get is not working area names and background music.
Changing cooldown times in clientside is also useless since the cooldown is controled by the server. If you open your character in xml mode, scroll down a bit and you will find the following line :
Code:
<variable name="coolingtime" type="Octets">ffffffff00000000</variable>
this line stores the cooldown from items and skills, in my example there is currently no cooldown active.
PPls would have abused those bugs a long, long time ago since elements editors are compatible with the official clientfiles for a long time and everyone can use a text editor to edit the client .clt files.
Re: safe zone and other things
actually in nienna taranis server they currently are, and safezone is 90% if not 100% server sided from my point of view,
region.clt
controls this, remove that file and you wont have any more safezones. id just say give it a try on any private server, i use maps > world > region.clt to modify those zones.
and i do mean no safe zones, the client never tells the server its in a safe zone so players can still attack you, and you can still attack in it.
same with the opposite you can change it to all safe zones, and you cant be hit.
Re: safe zone and other things
Hi !
Client never told the server if it is in safezone or not :rolleyes:
Movement system works with speed calculation (thats why wallhacks are working), the server knows only the speed your character has and the direction (heading) it is moving to, based on those informations the server calculates your current position and sends it to the other clients. Once the server notices that you reached any coordinates which are inside a safezone it sends a packet to your client and your client is activating a event for this packet (in this case it displays a system msg).
Even if the position would be calculated by the client, the server would still know if you are in safezone or not because it still needs your position so it can align a "interest area" to your client (align a certain area in which it displays mobs, players, npc's and drops to your client) if it would get the wrong position from your client it would result in a out of sync error = disconnect or no mobs / players / npcs visible.
Would be nice if some other dev's with a bit more experience of this than me would leave some words here because server admins without enought knowledge about this could get scared when reading things like working client editing and such....
Re: safe zone and other things
Quote:
Originally Posted by
torunatu
Hi !
Client never told the server if it is in safezone or not :rolleyes:
Movement system works with speed calculation (thats why wallhacks are working), the server knows only the speed your character has and the direction (heading) it is moving to, based on those informations the server calculates your current position and sends it to the other clients. Once the server notices that you reached any coordinates which are inside a safezone it sends a packet to your client and your client is activating a event for this packet (in this case it displays a system msg).
Even if the position would be calculated by the client, the server would still know if you are in safezone or not because it still needs your position so it can align a "interest area" to your client (align a certain area in which it displays mobs, players, npc's and drops to your client) if it would get the wrong position from your client it would result in a out of sync error = disconnect or no mobs / players / npcs visible.
Would be nice if some other dev's with a bit more experience of this than me would leave some words here because server admins without enought knowledge about this could get scared when reading things like working client editing and such....
That is pretty much how it works but the client also sends its position so the server knows if it needs to send a 'compensation' packet (you can see this very obviously using a speed hack)
Re: safe zone and other things
first off id like to say well put in words, thats kinda what i was trying to say about the "client doesnt tell the server its in the safe zone thing" but, if you were to remove that file that i said above it does remove the safe zones, for that client, although it isnt helpful for the person that removed it, you can reverse the effect and make it all a safe zone, i first tested it on my server, then tested it on a few others, with the same results.
i just figured the client sends the server its position and the client also sends a request for safe zone, if you remove the file its like the client doesnt send the request and you remain outside of the safe zone.
i only understand the base of packets and injections, i am no wizard at it xd, just seeing if anyone else would like to reproduce this and see if this could become a problem.