Jump to content

lorddragon2

VIP Member
  • Posts

    175
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by lorddragon2

  1. package handlers.itemhandlers; import com.l2jserver.gameserver.cache.HtmCache; import com.l2jserver.gameserver.handler.IItemHandler; import com.l2jserver.gameserver.model.L2ItemInstance; import com.l2jserver.gameserver.model.actor.L2Playable; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; public class item implements IItemHandler { private static final int[] ITEM_IDS = { 10639 }; public void useItem(L2Playable playable, L2ItemInstance item,boolean forceUse) { if (!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance)playable; int itemId = item.getItemId(); if (itemId == 10639) { String htmFile = "data/html/merchant/658.htm"; String htmContent = HtmCache.getInstance().getHtm(htmFile); NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); infoHtml.setHtml(htmContent); activeChar.sendPacket(infoHtml); } } public int[] getItemIds() { return ITEM_IDS; } } This is the code i used...I dont get any problems on gameserver... I ju
  2. Sorry i didn't request the hole code just a little help This code you gave me goes to HtmCache i think sorry i'm kind of newbie in java yet I already created the item handler but the item still not working... I registered it on masterhandler also... and still nothing what else can i do? Does anybody knows the code for the restriction or a part of it i can continue it from there!!! Nothing just open the html!!! with the restrictions!!!
  3. Open an html with the above as i said... i want just the java thing i can create all the other files... Thanks for your help guys!!!
  4. Give us more details do u have remote desktop access or general access to the pc...is it a dedicated server or a home server? If you have it's simple just follow this guide: http://maxcheaters.com/forum/index.php?topic=50068.0 And download java - mysql - and any other program you need for the 64bit version!!! They are all free after that everything goes according to the guide If you don't have access to the machine by remote desktop and you are using a plesk - ftp access upload the right files through it and then you will need someone more expert than me to guide you through cmd commands cause i have no idea how to do it!!! Well my opinion get a remote desktop service install to the machine like <<teamvier>> and install the files through it!!! It's free...and you can also use windows service Remote desktop ask your provider to config it for you also free!!!
  5. Hello again MxC thanks for your attention... I want your help once more if someone can make a specifique item that opens an html... More detailed I want a usable once item that can't be used on oly, tvt, dead, karma, flagged, fake death, to open an html... I have found some posts like this one: http://maxcheaters.com/forum/index.php?topic=47545.0 But steal not what i want!!! If someone can improve it work for latest l2jserver rev It would be awsome!!! Thanks in advance for reading it!!!
  6. Thanks a lot bro i tried my best!!! It's working on all vote sites you just have to put the right link on php code with just a little of modification
  7. You can add some images too make the post look better and inform the other members of the community and also tell us what's so good (give us a reason to download) cause this npc already exists inside l2j packs Thanks in advance
  8. What do meen really i dont understand there is no npc pure java and php!!! You just vote at the site then go ingame and write .reward then you get your reward... So simple...please dont spam other people topic's just to get some more Posts!!! And to the author please update the link or let me make a proper post Cause people get a really hard time and dissapointment when they apply your code!!!
  9. To have an sql injection you must first get access to the server database!!! If your are using a dedicated server there is no way for someone else to access your db if your a little smart!!! If you are not search the forum there is one really good post i was reading a few days ago that helps you protect the database!!! If your running a home server you must just get a good firewall at least!!! Will help a little a make the database accessible from your own pc only!!! Also there is an ip/Account protection so you can not vote more than once with same account or same ip, and has a configurable time delay to fix for each site vote!!! Anyway till now is the most complete working [Free]Vote Reward System.
  10. Very nice code...at first it's perfect... then when someone puts a bounty on you, you tell your friend kill me to share the reward... I really liked it but can be fair!!! Thanks for the code Setekh and Nilinking For the Reshare but i'm just telling you!!! I used that code on an old server and after a week nobody put bountys because they thought everybody will steal the adena!!! Maybe works better on massive PvP servers!!! Well done bro keep sharing!!!
  11. OMG perfect but hell of a big code!!! Anyway will try to adapt Freya tell me if you mind to repost it with proper credits of course!!!
  12. There was wrong with java and sql file that mades the script has error... hard to explain in a comment You should have test it before post but it's ok like this it was almost perfect!!! Also add proper credits to the post cause your java file is made by someone else!!! As i said problem was not in php but java and sql!!! You can use my files i gave you to repost it!!! It's ready to execute!!! He has already done it from the start!!! He just didn't wrote the java file and he doesn't know!!! It can not be cheated... unless you are using a precompiled very old revision of l2(dont f**king know what)... There is just also another bug in the php that gives more than 1 point to the voter...More specifically it gives 900points that means 900gb!!! change this and you will no be hacked again i promise... ;D Oww and if you modified it really how didn't you saw that cause it is not working unless you fix it!!!
  13. LoL no [off]"...think before report..." that's a good advice you apply yo yourself as well i tested everything before post!!![/off] The only problem is the custom gm skills (buffs) that makes the problem and the potion not wotking!!! Anyway hope l2j already fixed it lock topic please!!!! Thanks in advance
  14. I made the fixes that where wrong so till the author updates the link you download from here the fixed version: http://rapidshare.com/files/451082625/Vote_System_fixed_By_LordDragon2.rar Enjoy
  15. haha LoL an to kaneis auto tha kastrepsis to skill!!! Aplos allakste to arithmo se auto kai tha dwsei oso thelete <set name="power" val="900"/>
  16. No it's not my fault there was just a problem with that rev. potions not working in gm characters only when you enable the custom gm buffs... they work normally to other characters... So solution found lock the topic
  17. Ok kostas2121 i found the xml and managed to add the items thanks for your help Please someone lock the topic!!!
  18. Hello MxC it's been a long time since last time used this section... ;D Anyway i need your help with the new revision of Freya l2jserver (official) I Want to add some custom items on my server and i can't find anywhere the tables we used to have "Armor" and "Weapons" So there is no way to add them in database... Can you tell me the new table i should add the items? I would really appreciate your help thanks in advance!!! :D
  19. Bro your code has a lot of problems and not working i fixed them all if you want pm me to send you the corections... Anyway nice share first actual working Vote Reward system not for sale please keep up the good work!!! And thanks a lot... I would give karma if someone else didn't but you need to do the corrections first...
  20. Gt na kanoun lock to topic ligo ftiaksimo thelei kai einai ena kalo post gia na katalavei pws tha arxisei enas new developer!!! Dn lew polla ap auta p graphei to paidi einai upervolika kai aperiskepta alla an ton vohthisoume borei na bgei ena kalo topic pou tha vohthaei tous new developer Anti na graphete comment tetoiou styl: Tha borousate na proteinete sto paidi idees gia na kanei kalutero to topic kai ksekoliste tecpa!!!
  21. bravo Nevermore polu kalo guide an kai aplo thaumatourgo exei kai alla idia vevaia gi auto dn aneferomai kan se karma alla keep going!!! kalh douleia!!!
  22. Kalhmera mxc tha hthela an borei vevaia kapoios na kanei ena aio topic gia working events l2j server kai l2j free lew afta giati einai ta pio diadedomena, pou fusika tha to kanei update!!! Kai na valei kai kapoio guide mesa gia to adapt se alla chronicles tha dwso karma... Borei kapoioi na poun pws gt dn kaneis ena search kai tetoia... Sas plhroforo oti exw kaei sto search kai dn exw vrei kati tis prokopeis pou na douleuei gi auto to tonizw: Thelo "working events" me valid links ktlpa oxi untested pou bgazoun provlimata kai tetoia!!! Sugnwmh an egina kourastikos h zhtaw kati duskolo... An einai peite m na zhtisw lock!!! Eyxaristw ek twn proterwn gia ton xrono pou afierosate gia to post m!!!
  23. File egw gia ton server mou plhrwno 300 euro to trimino me to site se ena polu kalo dedicated server se hoster pou gia logous diafimishs dn tha anafero!!! Twra gia ta programmata pou les oti dn prepei na einai free... sumfwno as einai paid crackarismena h me free keys dioti opws eipe kai enas sofos kapote h peiratia swzei thn tsepi mas!!! Dioti eimaste mesousis ths oikonomikhs kriseos, poios tha dwsei 500+ euro gia server Aaa kai gia template exei bolika to mxc, kai ena kalo programmataki pou legete Dreamweaver kai ena allo pou legete photoshop einai polu eukolo na ta fereis sta metra sou!!! Epeita ama perimeneis apo developer na sou kanei server kalutera mn ton anoikseis katholou!!! H kaluterh sumbouli tha htan na matheis apo development o idios prin anoikseis server...an oxi ola ta vasika estw!!! Dhladh pws na pernas java...compile, na ftiaxneis typou styl arxeia html kai multisell ktlp...Ta polu vasika estw opws eipa kai prin!!! Gia to pass pros theou thn epomenh mera tha exeis xasei ton gm xaractira sou...(Ektos kai na ksereis na kaneis edit to pass apo db) dhladh auto sunepageto oti katalaves ti mlkia ekanes kai prospatheis na to fixareis!!! Telos gia tous gm prepei na einai atoma xamilhs nohmosinhs...Ypervolika kamena sto l2 kai fusika atoma pou ebisteuese!!! Kai dn xreiazese tupou styl programmata parakolouthisis...(ps an epimeneis ta kalutera ta ftiaxnei o makis (triantafilopoulos))...oloi oi sovaroi server exoun logs pou tha prepei na exeis panta anoikta kai fusika oi gm na einai limited xwris polla polla mono ta aparaithta Aaa kai mhn ksexaso ta credits stous prohgoumenous posters!!! Eisastan 10 fores sygnwmh 1000 fores xeiroteroi apo to paidi toulaxiston autos prospathouse na vohthisei eseis kanate katharo flame kai malista oti nane!!! Tha borouses na valeis merika apo auta p eipa sto post sou an vevaia theleis gia na ginei ligo kalutero an theleis sthle m pm na sou prwteino kai alla (aaa kai stous flamers dn paw na to pekso ebeiros merikes idees deinw xwris na einai aparaithta oi swstes)!!!
×
×
  • Create New...