How to edit a map from PK zone to NON PK

08/13/2012 10:40 kmute2#1
How or what do i change to make my poker room a non pk map? :s
08/13/2012 11:13 pro4never#2
Depends how you handle pking in your source.

#1: It's binaries or using the same map flag system that is used in binaries. Change the map database to include the no pk flag in the effects pool (translate from int>hex, check if the flag is active or not, add it, then translate back to dec and save to db)

#2: List of non pk maps in source: Add it to the non pk list

#3: Some other system: Use the system in place or replace it with something else.


This all boils down to you not having a clue how your source works... Take a few months to learn some basic programming and really dig through your source so you understand where things are, how they interact and I guarentee you'll find and be able to correct dozens of bugs just from the exploration alone.