Jump to content

Question

Posted

Καλησπερα στη κοινοτητα!

 

Θελω να κανω κατι στο πακ μου και εχω κολλησει σε ενα σημειο

Βρησκομε στο αρχειο RequestAuthLoging.java και θελω οταν ισχυουν καποιες συνθηκες σε αυτο το αρχειο, να κλεινει ο gameserver

 

 

Μπορει καποιος να με βοηθησει με τον κωδικα που χρειαζετε για να γινει αυτο;;

ευχαρησω εκ των προτερων!

10 answers to this question

Recommended Posts

  • 0
Posted

Σε τι λειτουργικό σύστημα βρίσκεται ο server;

 

Πες μου αυτό και θα σου δώσω τον κατάλληλο κώδικα.

 

System.exit(2); klinei to gs

  • 0
Posted

δεν νομιζω να εχει να κανει με το λειτουργικο...

 

@xdem: Eυχαρηστω πολυ!!!

Έχει όταν η εφαρμογή δεν είναι της Java, δηλαδή πρέπει να τερματίσεις την εφαρμογή χρησιμοποιώντας εντολές του ανάλογου λειτουργικού συστήματος όπως taskkill κλπ.

 

Η λύση του xdem όμως είναι καλύτερη. (αν δουλεύει)

  • 0
Posted

Περασα αυτο π μ ειπε ο xdem αλλα κλεινει τον lg οχι τον gs

 

καμια ιδεα??

 

btw einai System.exit(1);

  • 0
Posted

Περασα αυτο π μ ειπε ο xdem αλλα κλεινει τον lg οχι τον gs

 

καμια ιδεα??

 

btw einai System.exit(1);

 

ftia3e ena method sto gameserver.java

public static void closeGs()
{
	System.exit(1);
}

 

kai kalese to ekei pou 9es meso GameServer.closeGs();

 

 

  • 0
Posted

Αν κάνεις αυτό που είπε ο xdem, μην ξεχάσεις να κάνεις import τον gameserver. (επειδή θες να το κλείσεις από loginserver)

  • 0
Posted

παιδια το δοκιμασα πριν αυτο αλλα κ παλι ο lg κλεινει...

  pou to vazeis to code
Guest
This topic is now closed to further replies.


  • Posts

    • someone ban again this piece of shit this guy is a virus we should make an antikara or karabytes
    • 🍂 The cost on Vibe-sms is dropping, like autumn leaves falling from the trees.     It’s a little sad to watch the last days of summer fade away with its warmth, but that’s how the world works  every season has its own rules. The same goes for our prices: they are gradually but steadily going down, opening up new opportunities and great deals. 💸   🌍 USA is already at the minimum, and Europe, Asia, and dozens of other countries will follow soon. Don’t miss out  fresh rates are waiting for you!   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
    • You didn't tell me anywhere that you wanted core.jar as proof, I have everything ready for an independent developer to review. All the conversations, all your edits. I won't settle anything with you, so you can threaten me again and damage my name.
    • So what? Did i say anything wrong? You have no idea what source/compile is. I still wait for your .jar or source to be posted since you say i destroyed the compiled version of yours. Why you don't post it? Are you afraid that people will just see few addon lines and you did not even know that your source and compiled had different things? I should not even waste 2 minute to fix your raidboss_spawnlist thing.    Your mentally ill. What you posted is our primary deal nothing against me.  Because all he does is post whatever i write as if i hide and i did not say any mod to join and check my discord. i want him actual post something against me or any offenses i did. I also requested him several hours ago to post his .jar where my code "HACKED" his server but he wont post.    Nobody should allow open a random topic and cause issues to other's life without proofs. I demand punishment and soon unless he post evidence that i hurt his server or left him or did not make what he asked. 
  • Topics

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