Jump to content

Question

Posted

Hey guys i found that code which is supposed to be at data/scripts/custom and not inserted via eclipse.

 

There is 1 file named poker.java ..i tried to adapt it for L2JFrozen but I still got problems that I don't know how to fix..If anyone has the knowledge and the skills to do that it would be pretty nice...Here's the code:

 

http://pastebin.com/3YDFAdhW  (it was too long to post it here)

 

Here you can see the ERRORS I get :

1. https://postimg.org/image/d9qog45bd/

2. https://postimg.org/image/3yx7773a7/

3. https://postimg.org/image/vfc9r2vnl/

4. https://postimg.org/image/us7fv7td1/

5. https://postimg.org/image/77gr6jg85/

 

and here is the original code posted on maxcheaters: http://www.maxcheaters.com/topic/115260-poker-game/

5 answers to this question

Recommended Posts

  • 0
Posted

Sweets, I can't learn how to use java or anything else that has to do with it..I don't have the knowledge to adapt it...All i know is simple things...like changing the imports and some other staff that you've told me or you've posted here on maxcheaters..All I can do is ask for some help ..if someone can help me then ..great! I'd be very thankful...if anyone can't help me then I can't do sth about that...i'll just have to move on and simply skip those codes..thanks for ur time!

  • 0
Posted (edited)

That's what I'm trying to say. Everyone was in the same place. Everything looks hard, I know that. That's what I'm trying to say, if you can't then skip the code. Find another code to adapt, play with. Slowly, with time when you understand how given line works - you find out that other files use the line that you have error - you know the solution.

 

In short, if you don't know to +-, then don't try to learn how to *. :P

 


 

Add this code in Eclipse as well, so you get erros, tips, solution from Eclipse side.

 

About htm issue and other things, a tip. Use search in Eclipse and search for "HtmCache.getInstance()" you will get many results, compare both structures and you will find out what to remove.

Edited by SweeTs
  • 0
Posted

Thanks for your advices I really appreciate that ..keep on staying positive and helping people..But before posting I had already tried it on eclipse and that's why i thought i should come here and post it to get some help..I did everything I could possibly do :P

But anyway..Thanks again for your time and your help :)

 

*Don't forget to be nice to ppl y'all.

  • 0
Posted (edited)

drop getHtmlPrefix, as it's for H5.

String content = HtmCache.getInstance().getHtm("data/html/teleporter/50000.htm");

The cash, must be int, not long - currency check for adena was * long value, as in H5 it's using long.

player.destroyItemByItemId("PokerAdena", currencyId, cash, null, true)
Edited by SweeTs

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Lineage 2 Interlude Developer – Cliente + Datapack Hola, soy developer especializado en Lineage 2 Interlude con experiencia tanto en cliente como datapack/core. ✔ Desarrollo datapack (Java, scripts, quests, balance PvP/PvE) ✔ Fixes core / geodata / exploits ✔ Sistemas custom (events, Olympiad, instancias, mods PvP) ✔ Cliente: interface mods, system patches, .dat edits, UI personalizada ✔ Optimización y estabilidad de servidor ✔ Trabajo freelance o colaboración fija Si necesitáis soporte dev o mejoras para vuestro servidor Interlude, podéis contactarme por DM. Portfolio y ejemplos disponibles bajo petición.
    • THEY DON’T COME BACK FOR NO REASON. HERE’S WHY Our clients come from different countries and with very different tasks. But the strongest indicator of quality is simple — when a client comes back **for a second time**. This case is exactly that. The client returned with a request for a **German ID**. The requirement was clear: a document **in a male hand**, with a natural live scene and correct geographic context. What we did: ▪ accepted source files and data without unnecessary bureaucracy ▪ selected a **real street**, not a generic background ▪ built a print-ready mockup with correct scene logic ▪ sent it for approval ▪ after confirmation, delivered the **final file for printing** No templates. No “good enough”. Only solutions tailored to a specific task. Result: ▪ mockup approved on the first try ▪ client fully satisfied ▪ stays in touch We work **worldwide** — and that’s exactly why clients return. Contact us › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx ) *All data is published with the client’s consent.* #redraw #verification #documents #case #ID
    • Lineage 2 Interlude Developer – Cliente + Datapack Hola, soy developer especializado en Lineage 2 Interlude con experiencia tanto en cliente como datapack/core. ✔ Desarrollo datapack (Java, scripts, quests, balance PvP/PvE) ✔ Fixes core / geodata / exploits ✔ Sistemas custom (events, Olympiad, instancias, mods PvP) ✔ Cliente: interface mods, system patches, .dat edits, UI personalizada ✔ Optimización y estabilidad de servidor ✔ Trabajo freelance o colaboración fija Si necesitáis soporte dev o mejoras para vuestro servidor Interlude, podéis contactarme por DM. Portfolio y ejemplos disponibles bajo petición.
  • Topics

×
×
  • 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..