Jump to content

[SHARE] Casino Mafia by Ovenus


Recommended Posts

got an error on this part.

 

	public static void toAllOnlinePlayers(L2GameServerPacket mov)
{
	if (Config.DEBUG)
	{
		_log.fine("Players to notify: " + L2World.getInstance().getAllPlayersCount() + " (with packet " + mov.getType() + ")");
	}

	L2World.getInstance().forEachPlayer(new Broadcast.ForEachPlayerBroadcastPacket(mov));
}

 

error message:

Broadcast.ForEachPlayerBroadcastPacket cannot be resolved to a type

 

Any idea on how to fix that?

Link to comment
Share on other sites

what is this ?

 

int _am-beep-t = 20;

any help ?

 

just use it like this:

 

int _ambeept = 20; and then change all lines on the code.

 

I need help also with the post above.

Link to comment
Share on other sites

  • 5 weeks later...

Why when I press the button to play it takes the items 2 times (you need 20 items to play and it take 2x20=40 items) out of my inventory? and if you win it only give you 20. Many errors on this code, took me a while to find then and correct but It still take the item twice.

Any help will be appreciated. Thank you.

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...