marwan Posted December 1, 2012 Share Posted December 1, 2012 Hello guys , I'am here with a new share Hitman event , every 60 minutes random player in server will be chossen to be the hitman , Hitman player name color will be changed to red and will be announced that he/she is the hitman. The first player who kills the hitman will be rewarded , event ends in 5 minutes update : http://pastebin.com/fvBvWe11 PS : Not tested coded in L2JServer hi5 credits to me oh forgot ,add in gameserver.java Hitman.getInstance(); Update : fixed a bug in pickplayer() method now its working properly Quote Link to comment Share on other sites More sharing options...
SirSorin Posted December 1, 2012 Share Posted December 1, 2012 hah, this is new event... i like it :)) Quote Link to comment Share on other sites More sharing options...
pirama Posted December 1, 2012 Share Posted December 1, 2012 hah, this is new event... i like it :)) Quote Link to comment Share on other sites More sharing options...
RandomDude Posted December 1, 2012 Share Posted December 1, 2012 Does is have any protection from clan/ally and ip killing? Quote Link to comment Share on other sites More sharing options...
marwan Posted December 1, 2012 Author Share Posted December 1, 2012 Does is have any protection from clan/ally and ip killing? no Quote Link to comment Share on other sites More sharing options...
RandomDude Posted December 1, 2012 Share Posted December 1, 2012 No ty then. Gj anyways.. Quote Link to comment Share on other sites More sharing options...
marwan Posted December 3, 2012 Author Share Posted December 3, 2012 Good Idea, just need some more protections. like ? Quote Link to comment Share on other sites More sharing options...
SweeTs Posted December 3, 2012 Share Posted December 3, 2012 Does is have any protection from clan/ally and ip killing? If it will have it's gonna be unfair. Anyway, with and w/o protection it's gonna be unfair. Since with prot, clan/ally members won't be able to take reward by killing Hitman and without prot you can easily let your clan/ally member kill ya to get reward.. So both cases and not so fair, you got the point :D Quote Link to comment Share on other sites More sharing options...
janiko Posted December 3, 2012 Share Posted December 3, 2012 nice, thank u dude Quote Link to comment Share on other sites More sharing options...
marwan Posted December 14, 2012 Author Share Posted December 14, 2012 Update : fixed a bug in pickplayer() method now its working properly Quote Link to comment Share on other sites More sharing options...
vl4d Posted December 15, 2012 Share Posted December 15, 2012 missing import and pcinstance part? Quote Link to comment Share on other sites More sharing options...
benaz Posted December 15, 2012 Share Posted December 15, 2012 Not imports, boolean. I adapted it to interlude l2jfrozen. And i have one problem. If hitman player gets killed, winner don't get reward, no announcements appear and title of hitman stays the same - red, witch says HitMan target. How to solve it? No errors in eclipse or gameserver. :) Quote Link to comment Share on other sites More sharing options...
marwan Posted December 22, 2012 Author Share Posted December 22, 2012 missing import and pcinstance part? oh forgot to add pcinstance part http://pastebin.com/fvBvWe11 Not imports, boolean. I adapted it to interlude l2jfrozen. And i have one problem. If hitman player gets killed, winner don't get reward, no announcements appear and title of hitman stays the same - red, witch says HitMan target. How to solve it? No errors in eclipse or gameserver. :) becausse of the missing party in pcinstance add it and test http://pastebin.com/fvBvWe11 Quote Link to comment Share on other sites More sharing options...
slastik24 Posted December 22, 2012 Share Posted December 22, 2012 Where method setHitman()? Please show me code of this method. I have error: [javac] error: cannot find symbol [javac] symbol: method setHitman(boolean) [javac] location: variable pl of type L2PcInstance Quote Link to comment Share on other sites More sharing options...
marwan Posted December 22, 2012 Author Share Posted December 22, 2012 Where method setHitman()? Please show me code of this method. I have error: [javac] error: cannot find symbol [javac] symbol: method setHitman(boolean) [javac] location: variable pl of type L2PcInstance in the code + public boolean _hitman = false; + public void setHitman(boolean h) + { + + _hitman = h; + } + + public boolean isHitman() + { + return _hitman; + } + Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.