-
Posts
1,403 -
Credits
0 -
Joined
-
Last visited
-
Days Won
32 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by melron
-
the code that you posted can destroy your server ...
-
maybe you should post exactly what message you are receiving. also, post the whole code here in code tags
-
try this one if (player.getLevel >= 80 && player.getLevel <= 85) // Only 80 .. 85 levels if (player.destroyItemByItemId("delevel", 57, 1000, null, true)) // Check the destroy item { player.removeExpAndSp(player.getExp() - ExperienceData.getInstance().getExpForLevel(55), 0); //remove the xp player.addItem("delevel-reward", 7575, 1, null, true); // reward } Note: If this will not work, then you should look before this code if something doesn't allow the conditions
-
The answer is on the question. Since i dont have your sources and i cant know the name of your methods, try to follow the next steps First of all, get the line where the admin set level in a player instance and see how the delevel works for example player.removeExpAndSp(xp,sp); then , if your destroyitem method returns boolean, check it without even check the item count. for example player.destoryItemByItemId("delevel",57,1000,null,true) the boolean 'true' should inform the player if the item couldn't be destroyed. By doing that, you dont even need to send new message to that player about incorrect item count. then, add your reward for example player.addItem("delevel-reward",7575,1,null,true) finally, a complete code should be like that: if (player.destroyItemByItemId("delevel",57,1000,null,true) { player.removeExpAndSp(xp,sp); player.addItem("delevel-reward",7575,1,null,true); }
-
o logos einai profanhs.
-
Pros ti auth h allagh onomasiwn twn staff group? Dld as poume o 'Gaming Moderator' ti akrivws kanei moderate? Ela as min koroideuomaste... kalo tha htan o maxtor na parei thn apofash na allaksei thn politikh tou forum kai na epikentrothei sto l2 (pou etsi akrivws einai twra) alla me thn diafora na vgoun oles oi alles oi malakies pou exei edw mesa aka skoupidia... ta sections pou einai akura (alla games ktlp) kai dead edw kai 2-3 xronia oxi , den deixnoun plouto sto forum... deixnoun apla mia kserh nekra.... allaxte olo to skiniko re ... kanteto mono gia l2 afou mono auto exei kinish... Diamorfoste omorfa to forum me sub categories ktlp oste oloi oi new members na exoun aneth paramonh edw... BAN sta malakismena pou spamaroun kathe 10 sec se auto to topic (new rule gt oxi?). kante swsth douleia... exete dei dld kamia diafimish gia : Aion Counter Strike GO Crossfire Defense of the Ancients [Dota 2] Diablo III Guildwars 2 den nomizw.... ti ta exete? na deiksete oti exoume forum pou exei games mesa? 1 arxidi kai miso einai auth thn stigmh. Oso afora merikous staffers, ksekavaliste ligo to kalami... rank sto mxc exete oxi didaktoriko Mexri to 2o line ton active deixnw...Den deixnw kai tis alles varieme...
-
Ρε είστε αυτιστικά?
-
They do thinking that, but they cant... :s
-
Happy Easter guys!
-
Help Buffer Html Change
melron replied to DimiCxD3's question in Request Server Development Help [Greek]
RequestBypassToServer.java else if (command.startsWith("custom_dobuff") { ... } Track the whole code and see where the html is located -
Help l2 help.htm file for buff resist?
melron replied to nukerftw's topic in Request Botting [English]
There isn't a fix for that. If the buffer code is bad without checking if you are facing the npc (aka the code is in requestbypasstoserver) , then you can do it. And no, about 30% of frozen servers out there, they are bypassable to this thing just beacuse as you said, back in 2k12 the exploit was not discovered yet and all they are still implemeting those codes to their sources... :P -
You can decompile your jar and get back your files but i cant say you will get a complete folder. Btw, why you dont add a retail one and then add your customs again?
-
should be in Monster class at method doDie
-
Help l2jacis 370 Zaken
melron replied to xTakegawa's question in Request Server Development Help [L2J]
Help him to improve-fix any issue by doing reports on every thing that isn't working properly. On the other hand, you can simply use any other project like frozen and be the code master there :). What's the point to judge a person for incomplete work, while this guy is fixing broken things from reports that the community did? Did you ever help on that? You know mate, you can just pick a base like for example acis and fix-add what ever you need in order to have a decent project and start your business. By creating new accounts and cry here and there, you become stupid... -
A new category should be implemented not only for php. Generally about web development . For example , Guides/Tutorials and ready codes/scripts about: Joomla Bootstrap DreamWeaver jQuery JavaScript even AJAX... I know many of them are kinda old ... but the question is.. why not?...
-
Help restriction for TVT aCis
melron replied to Williams's question in Request Server Development Help [L2J]
public boolean canTarget(Player player, Player target) { // if they are not registered on the event they can kill each other if (player.getTeam() == TeamType.NONE && target.getTeam() == TeamType.NONE) return true; // kill each other only if the teams are not the same. return player.getTeam() != target.getTeam(); } -
Yes it is possible. Since you mentioned python you probably using frozen. So, learn python and start coding :D
-
Help RequestSellItem.java
melron replied to HARDECORE's question in Request Server Development Help [L2J]
Nightw0lf's answer is the correct one. You just need to edit the visual sell price too in order to work perfect. SellList.java - writeD(item.getItem().getReferencePrice() / 2); + writeD(1); RequestSellItem.java - player.addAdena("Sell", totalPrice, merchant, false); + player.addAdena("Sell", 1, merchant, false); -
Γέμισε το forum με έξυπνους ξαφνικά . Συγχαρητήρια στα ΑΜΕΑ
-
Help Max Characters per HWID
melron replied to giwrgos_'s question in Request Server Development Help [Greek]
einai allo to vote allo to hwid. sto vote mporei na exeis otidipote. twra milame gia HWID. gia na exeis to HWID tou player xreiazesai client edit h na peraseis lameguard p.x h smartguard h kapoio bot protection to opoio tha sou exei thn dunatothta tou HWID. opote xorizete se 2 komatia. client gia na sthlei to ID ston server kai server side gia na to kanei accept. esu mporei na exeis to server side omorfa kai wraia kai na sou leipei to client part. Kane ena debug ston server sou na kanei print ta HWIDS ton player kai tha deis ti ginete... den mporoume na mantepsoume etsi. dokimase kai des. ean ta HWID einai swsta kai o kathe player exei diaforetiko tote to provlhma einai allou. ean ta print sou exoun 'null' h ena default string opws 'NO-HWID' tote kati den paei kala me to client -
Help Max Characters per HWID
melron replied to giwrgos_'s question in Request Server Development Help [Greek]
Δεν νομίζω να έχεις πρόβλημα στην java. Λογικά στο client είναι το πρόβλημα -
Help Max Characters per HWID
melron replied to giwrgos_'s question in Request Server Development Help [Greek]
Η μέθοδος getHWID() που χρησιμοποιείς απλά γυρνάει null. εάν έχεις βάλει max 4, και logaroun 4, θα έχουν HWID null. Όποτε ο 5ος που θα προσπαθήσει να μπει ανεξάρτητα το μέρος του , την ΙΡ του και το hwid του, θα διαβαστεί σαν null και ο σέρβερ δεν θα τον αφήσει. Δεν έχεις κάνει κάτι λάθος. Το HWID system σου είναι λάθος -
"<tr><td align=center><button value=\"" + category.getName() + "\" action=\"bypass -h npc_" + getObjectId() + "_category " + category.getId() + "\" width=204 height=20 back=\"Button.but1\" fore=\"Button.but2\"></td></tr>"
-
if in table characters the field name is 'account_name' and in table accounts the field name is 'login': UPDATE characters c, accounts a SET c.botprev_fail_account = a.botprev_fail_account WHERE c.account_name = ? and c.account_name = a.login; Else, edit the query and set the right field names