Hi
open constinfo.py add file end
Code
- py_Flag = []
- def GetFlag(flagname):
- global py_Flag
- size = 0
- for i in xrange(len(py_Flag)):
- if py_Flag[i]["flag"] == flagname:
- size = py_Flag[i]["value"]
- break
- return size
- def SetFlag(flagname,value):
- global py_Flag
- bAdd = True
- for i in xrange(len(py_Flag)):
- if py_Flag[i]["flag"] == flagname:
- py_Flag[i].update({"value":flagname,"value":int(value)})
- bAdd = False
- break
- if bAdd:
- py_Flag.append({"flag":flagname,"value":int(value)})
How to use this?
İf you want to remove all flag character warp or change character.
open game.py and find close function and add this.
#######################################################################################################
Sql inject fix on python
open constInfo add end file
This function usign like this
You add chat, offshop sign, guild comment, messenger or where you want.
Best Regards - dracaryS