Jump to content
  • 0

Code like this(Guard)


Question

Posted

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

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock