Jump to content

Lioy

Members
  • Posts

    408
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by Lioy

  1. public void setPkKills(int pkKills) { _pkKills = pkKills; + Top.addDataPk(getName(), getPkKills()); } /** @@ -1917,6 +1919,7 @@ public void setPvpKills(int pvpKills) { _pvpKills = pvpKills; + Top.addDataPvp(getName(),getPvpKills()); }
  2. lol When server starts , data is retrieving into map. So the map has all charnames,pvps . Every time a player's pvp's count changes , it's putted in the map. If the server restart again, 1 more database connection and it's repeating. Simple enough
  3. You are wrong again , maybe you didn't understand how it works. playersPvpKills.put(charName, pvpKills) replaces pvpKills if key is same.. Realy why you insist since I tested it?
  4. Please read better the code , in every sendData it sorts the maps , that's all what is needed. you can't understand this?
  5. it doesn't sort the database pvp kills it just sorts a map's values. It's simple.
  6. I insist, read better the code.
  7. read the code and think better how it works , it doesn't make any db connection , only one.
  8. Top.addDataPvp(getName(),getPvpKills()); of course it refresh itself lol i tested it.
  9. maybe yes or maybe no, that's what I am asking as you read in my main topic, if it's better and I am waiting for friendly answers to this. Anyway i didn't judge you to use it , mainly for practice.
  10. you lol dude, you didn't understand the point. the point was to avoid sql connections -.-
  11. You didn't understand , it refreshes in every pvp/pk kill automatically, it's real time ,there is not such a problem :)
  12. Hello , one guy requested me in PM a top pvp/pk mod for aCis ( dont know if already exist , also didn't search.. ) and I did one simple but different. What's the different? It only connects to database only once (while others connect every time a players wanna see the status ) , on server's beggining , and this just to retrieve data into maps , so as Tryskell told me , it's more efficient and more secured to avoid to call database , so it's better (?). So you know...you can use this one if you want :) Main reason was to practice my skills on maps,etc. coded in acis, tested. I didn't give sense to html ofc , you can edit it however you want. It's done by a command now ( /top ) , but you can change it into everything you want(npc , etc ). Code : http://codecrap.com/content/1232/ commandname-e.dat 115 114 top
  13. bump!! perimenw idees!!
  14. Exei ginei kati paromoio http://www.maxcheaters.com/topic/113185-share-special-gatekeeper/?hl=matim
  15. DONE tha kanw edw share kai oxi se kenourio topic giati telika den itan kati to duskolo ( apla den eixa asxolithei me scrolls ) To item ginete -1 enchant kai exei kapia pithanotita gia reward, ola einai meso config. CODE: http://codecrap.com/content/1230/ CLIENT : etcitemgrp.dat 2 21731 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_wp_c_i02 itemname-e.dat 21731 Removal Scroll: Weapon (S Grade) Removal scroll lowers your item enchantment by 1 and has some success to give you a custom reward. -1 0 0 0
  16. sure
  17. Cool skepsou ena server p.x na exei san unique items ta event glittering kai o monos tropos na ta pareis na ine autos , kali fasi. Accepted!Tha argisei ligo omws to code!
  18. how exactly it works?
  19. FIXED (added new link , although same version) had forgot to add clean() method.
  20. safos skopos ine na ginoun olokliromena, to ekana update man , apo kei ke pera perimenw apo members na mou poun an xreiastei na fixarw kati kai oxi apo ton idio mou ton eauto. mporw na kanw tautoxrona kiala pragmata. eksigise to ligo pio leptomeriaka an mporeis
  21. UPDATED V2 replaced announce with Broadcast.announceToOnlinePlayers fixed @SuppressWarnings shits improved pickplayers() method now announce number of players that registed before pick the 2 random players In version 2, i tested with 3 players registed, no problem until now. FOR ANY BUGS , FIXES , YOU KNOW!!
  22. [GR]Fysika kai autos ine o skopos tou post , http://thenewboston.org/list.php?cat=31 des edw kapia tutorials arxika. I will update the version in some hours gyes, for fixes, dont forget i made this for practice , so i won't be much fast.
  23. create getters? By this you mean isInEvent() for example at L2PcInstance?
  24. Its coded in acis -.- :P
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..