Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 19:03

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

Advertisement



[Help] AmmoChange Please

Discussion on [Help] AmmoChange Please within the DarkOrbit forum part of the Browsergames category.

Closed Thread
 
Old   #1
 
ᶠᶸᶜᵏᵧₒᵤ!BugPoint!'s Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 22
Received Thanks: 7
Thumbs up [Help] AmmoChange Please

Hello Epvp
I'm looking for someone who can help in the creation of a AmmoChange
It's something simple I need, if not too much trouble .. infinite thanks
leave a couple of pictures, how I need this tool

  • The goal would be that I can adjust the time, preferably in seconds
  • Selecting the key

Hope I'm not asking for much

If it is actually very Difficult to program, I get... search by other means
ᶠᶸᶜᵏᵧₒᵤ!BugPoint! is offline  
Old 04/29/2013, 04:17   #2
 
StormTempest's Avatar
 
elite*gold: 108
Join Date: Feb 2012
Posts: 2,622
Received Thanks: 1,029
Quote:
Originally Posted by ᶠᶸᶜᵏᵧₒᵤ!BugPoint! View Post
Hello Epvp
I'm looking for someone who can help in the creation of a AmmoChange
It's something simple I need, if not too much trouble .. infinite thanks
leave a couple of pictures, how I need this tool

  • The goal would be that I can adjust the time, preferably in seconds
  • Selecting the key

Hope I'm not asking for much

If it is actually very Difficult to program, I get... search by other means
There are already a lot of ammochangers...


Just use the search function...




Regards. StormTempest
StormTempest is offline  
Old 04/29/2013, 05:16   #3
 
ᶠᶸᶜᵏᵧₒᵤ!BugPoint!'s Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 22
Received Thanks: 7
Quote:
Originally Posted by StormTempest View Post
There are already a lot of ammochangers...
Just use the search function...
Regards. StormTempest
Yes, I understand

But none of the ammo changer that are available, have the function of establishing the time

please wait until someone can help me. do not close the thread
ᶠᶸᶜᵏᵧₒᵤ!BugPoint! is offline  
Old 04/29/2013, 09:57   #4
 
jorg*'s Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 1,764
Received Thanks: 1,577
Quote:
Originally Posted by ᶠᶸᶜᵏᵧₒᵤ!BugPoint! View Post
Hello Epvp
I'm looking for someone who can help in the creation of a AmmoChange
It's something simple I need, if not too much trouble .. infinite thanks
leave a couple of pictures, how I need this tool

  • The goal would be that I can adjust the time, preferably in seconds
  • Selecting the key

Hope I'm not asking for much

If it is actually very Difficult to program, I get... search by other means
Hmm it al depends in what language you want to write, i would take VB Its not a hard language..

And what you ask is all possible, but not easy to do .. It depends on the Commands you want to use..
For example, in Visual studio you can use Timers, that wil repeat after ... Ticks
You can choose how many mili sec are in one tick. But these ticks are never correct haha .. So you have to find out how many you need exactly by playing with it ..
atleast thats a problem i am having :P


Like with the timer i would do this :
If you have timer on 100 ticks standard, this wil make 1000 ticks ..
Put the timer on 10 ticks, and it wil do 100 ticks and then send whatever you have in the textbox
Timer 1
Ticks += 1
If Ticks = 10 Then
SendKeys.Send(TextBox1.Text)
Ticks = 0
End If

Or you dont want textbox? You use something like this SendKeys.Send("1")


Good luck


Edit : found something that might help you.
Dim milliSecs As Integer = Timer1.Interval
If (Int32.TryParse(TextBox.Text, milliSecs) AndAlso milliSecs = 0 Then
Timer1.Interval = milliSecs
End If
jorg* is offline  
Thanks
3 Users
Old 04/29/2013, 12:07   #5
 
ᶠᶸᶜᵏᵧₒᵤ!BugPoint!'s Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 22
Received Thanks: 7
Quote:
Originally Posted by Microsoft Visual Basic 2008 Express Edition
Public Class Form1

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
SendKeys.Send(TextBox1.Text)
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Interval = TextBox2.Text
Timer1.Start()
Timer2.Interval = TextBox4.Text
Timer2.Start()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Timer1.Stop()
Timer2.Stop()
End Sub

Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
SendKeys.Send(TextBox3.Text)
End Sub
End Class
this is what you get done, watching a tutorial ...

but when I run it, there is only precionas a key or two keys precionan all same time, is there any way that when you finish precionar one pass to the other and then repeat the process (Loop)
ᶠᶸᶜᵏᵧₒᵤ!BugPoint! is offline  
Old 04/29/2013, 12:29   #6
 
jorg*'s Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 1,764
Received Thanks: 1,577
Quote:
Originally Posted by ᶠᶸᶜᵏᵧₒᵤ!BugPoint! View Post
this is what you get done, watching a tutorial ...

but when I run it, there is only precionas a key or two keys precionan all same time, is there any way that when you finish precionar one pass to the other and then repeat the process (Loop)


Public Class Form1
Dim Ticks As Integer
Dim Ticks2 As Integer


You need this

example ticks 'timer 1'
Ticks += 1
If Ticks = 75 Then
SendKeys.Send(TextBox2.Text)
End If
If Ticks = 100 Then
SendKeys.Send(TextBox3.Text)
Ticks = 0
End If

Example ticks1 'timer2"
Ticks1 += 1
If Ticks1 = 75 Then
SendKeys.Send(TextBox2.Text)
End If
If Ticks1 = 100 Then
SendKeys.Send(TextBox3.Text)
Ticks1 = 0
End If

hmm, but why you want to choose time? Why not make it random between 2 timings??

like this :
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Ticks += 1
If Ticks = 10 Then
SendKeys.Send(TextBox1.Text)
End If
If Ticks >= Randx.Next(200, 250) Then
SendKeys.Send(TextBox2.Text)
Ticks = 0
End If
End Sub
jorg* is offline  
Old 04/29/2013, 13:10   #7
 
ᶠᶸᶜᵏᵧₒᵤ!BugPoint!'s Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 22
Received Thanks: 7
Quote:
Originally Posted by jorg* View Post
hmm, but why you want to choose time? Why not make it random between 2 timings??
I appreciate all your help, I'm really new to VB

I want to make a tool to change the ammo automatically. because I have different configurations and recharge time of some weapons is different from other

look I made a vbs script

Quote:
Set wshShell = wscript.CreateObject("WScript.Shell")
WScript.Echo "¿Iniciar Sript?"
do
wscript.sleep 1400
wshshell.sendkeys "1"
wscript.sleep 1400
wshshell.sendkeys "2"
loop
but now I want to move to another level, creating my own. exe
without having to modify with notepad
ᶠᶸᶜᵏᵧₒᵤ!BugPoint! is offline  
Old 04/29/2013, 13:37   #8
 
jorg*'s Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 1,764
Received Thanks: 1,577
Quote:
Originally Posted by ᶠᶸᶜᵏᵧₒᵤ!BugPoint! View Post
I appreciate all your help, I'm really new to VB

I want to make a tool to change the ammo automatically. because I have different configurations and recharge time of some weapons is different from other

look I made a vbs script



but now I want to move to another level, creating my own. exe
without having to modify with notepad
Hmm well, then i suggest you to buy/download visual studio
there you can work on youre project

and you can release it and find the .EXE in the project map in release/bin or something like that
jorg* is offline  
Old 04/29/2013, 16:21   #9
 
»Barney«'s Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 868
Received Thanks: 947
Might aswell use a different thread... assuming you're using C#:

Code:
partial class Example
{
    Thread thread;

    public volatile bool ShouldStop;
    const int stop1 = 150;
    const int stop2 = 3200;

    const string key1 = "key1";
    const string key2 = "key2";

    public Example()
    {
        this.InitializeComponent();

        thread = thread ?? new Thread(() => { while (!ShouldStop) { SendKeys.Send(key1); Thread.Sleep(stop1); SendKeys.Send(key2); Thread.Sleep(stop2); } });
        Button startButton = new Button();
        startButton.Click += (sender, e) =>
        {
            ShouldStop = false;
            thread.Start();
        };
        Button stopButton = new Button();
        stopButton.Click += (sender, e) =>
        {
            ShouldStop = true;
        };

        this.FormClosing += (sender, fEvArgs) =>
        {
            ShouldStop = true;
        };
    }
}
Of course, the buttons have to be the ones in your form

You can also use the ThreadPool:

Code:
ThreadPool.QueueUserWorkItem(delegate
        {
            while (!ShouldStop) { SendKeys.Send(key1); Thread.Sleep(stop1); SendKeys.Send(key2); Thread.Sleep(stop2); }
        });
»Barney« is offline  
Old 04/29/2013, 20:55   #10
 
elite*gold: 0
Join Date: Aug 2012
Posts: 291
Received Thanks: 66
You can also do it with autoIT, with a little GUI, that's not hard
DOforfree is offline  
Old 04/30/2013, 01:22   #11
 
ᶠᶸᶜᵏᵧₒᵤ!BugPoint!'s Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 22
Received Thanks: 7
Yeahhhh¡¡¡



I appreciate the help... I was finally able to create my first program in Visual Basic 2008

I'm so grateful for their little tips and tricks


And this was the result of many attempts







just one more thing ...

how do I assign a key, such as "F1 Activate" - "F2 Deactivate"
ᶠᶸᶜᵏᵧₒᵤ!BugPoint! is offline  
Old 04/30/2013, 14:57   #12
 
»Barney«'s Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 868
Received Thanks: 947
You'll need to use Windows API for that, it's a bit more difficult than you think.
(that's if you want to use global hotkeys)

But if you only want key recognition on the form, handle the KeyDown, KeyUp, KeyPress events. Also, set KeyPreview = true;

or you can override ProcessCmdKey.
»Barney« is offline  
Old 05/01/2013, 14:18   #13
 
By-Soul's Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 49
Received Thanks: 21
Please C# Cod Send .
By-Soul is offline  
Old 05/01/2013, 14:31   #14
 
DarkorbitExpected's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 766
Received Thanks: 333
when you will release it?
DarkorbitExpected is offline  
Old 05/02/2013, 18:21   #15
 
ᶠᶸᶜᵏᵧₒᵤ!BugPoint!'s Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 22
Received Thanks: 7
Exclamation

Quote:
Originally Posted by By-Soul View Post
Please C# Cod Send .
I have programmed in Visual basic
and have improved their appearance a little.

This tool is used to automatically change the ammo, so takes advantage of the cooling time to cause another attack



Quote:
Originally Posted by DarkorbitExpected View Post
when you will release it?
This is not a tool to darkorbit .... is for nova raider
ᶠᶸᶜᵏᵧₒᵤ!BugPoint! is offline  
Closed Thread

Tags
ammo, changer, exe




All times are GMT +1. The time now is 19:03.


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.