Jump to content

melron

Legendary Member
  • Posts

    1,399
  • Credits

  • Joined

  • Last visited

  • Days Won

    27
  • Feedback

    0%

Everything posted by melron

  1. propably u are using connections to mysql without closing them and u reached the maximum connections... check some of your codes and find out the missing 'connection'.close()
  2. Yea.. also u can improve it with startup buffs via configs :D
  3. We have sp too! :D forgot about that... Best option for this case :P
  4. 'fast way'. you can just register a new boolean in L2PcInstance as false and do it true when the player click to take the items... but this one will NOT fix your problem in restart case. or you can just c/p the html without the Dress Me link and when the player take the items send the new html without the dress me... smt like that :P the best way is to do it like quest... use connections with db to avoid even the restart just with 1 value like table name startup with columns fClass,sClass,tClass,gear...etc with values ... 0 unused,1 used. so you can easily control what the player need even if he log out and log in again...
  5. Yea the 2nd method it looks like more professional :P but both are good ;)
  6. Deksi klik ston upologisth. idiotites rithmiseis gia proxwrhmenous ena megalo button leei Μεταβλητές περιβάλλοντος sto 2o tab ( Μεταβλητές συστήματος) pata dimiourgia Onoma bale JAVA_HOME kai timh bale to path apo to jdk mesa ston fakelo bin . p.x -> C:\Program Files\Java\jdk1.7.0_55\bin save kai prospathise pali
  7. otan trexeis thn consola tou gameserver... h prwth grammh ti leei? Me liga logia exeis orisei path gia JAVA_HOME?
  8. postare se <code> olo to gs console h pes mas h prwth gramh tis consolas ti sou grafei
  9. Yea i know you want to help but Helping must be with correct way... if you help someone with wrong way then whats the point of this? Also about the radius of the gatekeeper who cares? He will just be near the gk and do what i said... ? This one is usefull for local servers for easy edit but still can be with the xmls. P.s About your code u can just use: Good work ;)
  10. Ofc ... but theres something... He can just bypass the ID of the teleport.. i mean <a action="bypass -h npc_%objectId%_goto 26" msg="811;Town of Oren">Town of Oren - 9400 Adena</a><br1> He can just change the goto to 1060 so he will go to antharas lair... In your case he can just use <a action="bypass -h npc_%objectId%_player_go_to 147464 1672 -336" msg="811;to custom location"><font color=LEVEL>Char Teleport to location</font></a> and boom? Click Me!
  11. You should add options such , what the password you need to contains... Letter,numbers,both,uppercase and lowercase etc... Good job anyway
  12. Its better for someone to learn how he can edit the xmls since this way is not the best for live servers... can be easily bypassed with many programms, such andrenaline and the player will be able to teleport everywhere in the map just with changing the cords... Except if you add a list with the cords that allowed which is a huge amount of wasted time without reason.. For me <- not suggested...
  13. seems like your database tables you are using in ur laptop is from the free rev ... there are some changes take a look
  14. Καλη χρονιά με υγεία σε όλους σας!
  15. why u dont look in the first post of this topic? answer is there... RequestConfirmCancelItem.java RequestRefineCancel.java change both case S: price = 480000; break; also...
  16. Alright then im doing it wrong... And im asking again now, Even if i will use a list to store them .... Then i have to do the same thing to shuffle them right?.......... :D Forget about vectors.. lets say i have list ... i want just the way for a random split for 2 other lists...
  17. Thank you for your help, I want 2 teams (the players vector will be clean after the split) im trying to use a kind of shuffle ... with your way its like the first 25 players go to team1 and the others go to team 2.. i want random selection :/ p.s if i can do this one with a better way i will not say no :D But if i will use a list or something , I should do the same method as im searching now... Am i wrong?
×
×
  • Create New...