- Joined
- May 25, 2008
- Messages
- 378
- Reaction score
- 115
Здравейте имам следният проблем : имам скрипт за ресет на геройте при който на разли4ен брои ресети дажа различни точки за рес но незнам как да го вградя в php файл и да го сложа да действа.
Ето го скрипта:
Некой ако може да помогне с тази задача
Ето го скрипта:
Update character set Resets=Resets + 1,Experience=1400,MapNumber=0,MapPosX=135,MapPosY=135,LevelUpPoint=800+800*Resets, clevel=50,money=money-5000000, Strength =28,Energy =10,Dexterity =20,Leadership=25,Vitality =25,Life =60,MaxLife =60,Mana =60 FROM Character join Memb_Stat on Character.Accountid = Memb_Stat.memb___id COLLATE Latin1_General_CS_AS JOIN MEMB_INFO ON Character.AccountID=MEMB_INFO.memb___id COLLATE Latin1_General_CS_AS where clevel >=330 and Resets < 50 and MEMB_STAT.ConnectStat=0 and money >=5000000 Update character set Resets=Resets + 1,Experience=1400,MapNumber=0,MapPosX=135,MapPosY=135,LevelUpPoint=500+500*Resets, clevel=50,money=money-10000000, Strength =28,Energy =10,Dexterity =20,Leadership=25,Vitality =25,Life =60,MaxLife =60,Mana =60 FROM Character join Memb_Stat on Character.Accountid = Memb_Stat.memb___id COLLATE Latin1_General_CS_AS JOIN MEMB_INFO ON Character.AccountID=MEMB_INFO.memb___id COLLATE Latin1_General_CS_AS where clevel >=330 and Resets > 49 and Resets <99 and MEMB_STAT.ConnectStat=0 and money >=10000000 Update character set Resets=Resets + 1,Experience=1400,MapNumber=0,MapPosX=135,MapPosY=135,LevelUpPoint=300+300*Resets, clevel=50,money=money-15000000, Strength =28,Energy =10,Dexterity =20,Leadership=25,Vitality =25,Life =60,MaxLife =60,Mana =60 FROM Character join Memb_Stat on Character.Accountid = Memb_Stat.memb___id COLLATE Latin1_General_CS_AS JOIN MEMB_INFO ON Character.AccountID=MEMB_INFO.memb___id COLLATE Latin1_General_CS_AS where clevel >=330 and Resets > 99 and Resets < 199 and MEMB_STAT.ConnectStat=0 and money >=15000000
Некой ако може да помогне с тази задача