Skip to content

Poker Game Npc

Featured Replies

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/

If you can't add thing on your own, simply skip them. Learn with time.

  • Author

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!

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

  • Author

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.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.