Register for your free account! | Forgot your password?

You last visited: Today at 14:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Locking System / PS

Discussion on Locking System / PS within the DarkOrbit forum part of the Browsergames category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2011
Posts: 20
Received Thanks: 1
Locking System / PS

how do i modify how a ship locks, and who gets the kill etc? I can't seem to find it anywhere.

thankyou
beatemaeon is offline  
Old 02/16/2014, 01:41   #2


 
Requi's Avatar
 
elite*gold: 3570
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
Learn programming and reversing, and you'll know it.

Privateserver stuff belong to this thread:
Requi is offline  
Old 02/16/2014, 10:21   #3

 
elite*gold: 1506
Join Date: Aug 2012
Posts: 592
Received Thanks: 1,020
Quote:
Originally Posted by beatemaeon View Post
how do i modify how a ship locks, and who gets the kill etc? I can't seem to find it anywhere.

thankyou
Create an int / string named attackedBy=0

Then when the ship is getting attacked, check if attackedBy = 0, if it is then set attackedBy to the enemy ship id

Code:
if (this.Ship.attackedBy == 0)
{
this.Ship.attackedBy = attackerId;
}
and then when the ship is getting destroyed give the reward to the account with userid this.Ship.attackedBy

(you can also make a "timer" to reset attackedBy every 30 seconds)
0wnix is offline  
Thanks
1 User
Old 02/16/2014, 12:36   #4




 
Elsastylez's Avatar
 
elite*gold: 32
The Black Market: 160/0/0
Join Date: Jul 2010
Posts: 8,279
Received Thanks: 4,430
Quote:
Originally Posted by Requi View Post
Learn programming and reversing, and you'll know it.

Privateserver stuff belong to this thread:
#closed
Elsastylez is offline  
Closed Thread


Similar Threads Similar Threads
Locking for
01/21/2014 - Infestation Trading - 0 Replies
Hello, i'm looking for some Lockboxes (i think about 6) and some snipers! I can pay for 1 lock boxes 1,5$ USD and for every sniper i can reach 2$ Add me on skype : wriiterz I pay with paypal, other :)
Help Need Locking up Client
04/24/2012 - Metin2 Private Server - 0 Replies
hello all im looking for help in locking up my client so it makes it harder to use hacks on my server but in having trouble understanding what i must do to do this as i have read many threads about it i am using the simple version of adding a line to the pack file but what i would like to do is change the extension of the files etc i know its something to do with the metin2.bin file and a changing something but i get lost as the german to english translation just doesnt work as in...
Locking for a DEV/GFX
08/21/2010 - Dekaron Private Server - 8 Replies
Hey im locking for a DEV or GFX how want help me just a little with the server , I don't need help in opening it , I don't need help in changing the files to much , I just need a little hand so I can dedicate more time to important things on server . The job you will have will not be hard . All I can say is the server will be unique , more hard for you will be the aloken part maybe but even there u will not help to much . PM me if you interested .
Locking Conquer?
01/27/2008 - Conquer Online 2 - 44 Replies
Hi all! This is my first article to elitepvpers, and i wanted to know something. My parents have put this "lock" on conquer...meaning i can't open it..well i can double click the icon and all until it comes up to the log in page. It won't let me log in. They said we put a lock on conquer so you can't go on it unless we



All times are GMT +1. The time now is 14:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.