Jump to content
  • 0

Code like this(Guard)


yuxel1919

Question

hello,

Help I need a code  ???

 

in gs i wrote this

 

_Guard = Guard.getInstance();

 

if (!_Guard.isInitialized())

{

  throw new Exception("Guard:Wrong key");

}

 

(If this true the gameserver will run )

 

gameserver/guard.java

 

here I need your help please help means so:

 

Here I need to write code like that:

will check (see) if there is such a key (12345) in key.java then the it will be true and gamesrver get true and will run

 

gameserver/key.java

 

example:

12345

1111

and so

 

 

with me thanks

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

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