Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 18:25

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

Advertisement



How do I add a variable

Discussion on How do I add a variable within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2009
Posts: 26
Received Thanks: 4
How do I add a variable

Couldn't find a guide when I searched. I want to make a variable so it will check how many times the player has already used unknown man. I know how to use the variable, but just don't know how to make it.

Oh yea this is LOTF
xTreme_ is offline  
Old 08/21/2009, 01:54   #2
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
You mean variables like short, int, long, double, etc?

Define the variable:
int UkwnMnUse = 0;
kinshi88 is offline  
Thanks
1 User
Old 08/21/2009, 02:06   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 26
Received Thanks: 4
Nvm I think I know, thanks.
xTreme_ is offline  
Old 08/21/2009, 03:24   #4
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
For what you're doing I think you'll need to put it in your DB. Otherwise the variable will reset on login.
killermickle is offline  
Old 08/21/2009, 04:03   #5
 
elite*gold: 0
Join Date: Aug 2009
Posts: 26
Received Thanks: 4
Quote:
Originally Posted by killermickle View Post
For what you're doing I think you'll need to put it in your DB. Otherwise the variable will reset on login.
Yea something like that, Andrea helped me define the variables and put em in my code for me and she said all I have to do is put the save in now or whatever. Too tired to figure how I do that though right now.
xTreme_ is offline  
Reply


Similar Threads Similar Threads
GUI-Input als Variable.
06/20/2010 - AutoIt - 8 Replies
Hey, ich habe mit KODA eine Inputbox erstellt, möchte nun aber dass ich das was ich in die Inputbox eintrage dann per 'OK'-Knopfdruck im schon vorher geöffnetem Notepad geschrieben wird. #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form3 = GUICreate("Test", 116, 82, 303, 219) $Button1 = GUICtrlCreateButton("&OK", 8, 48, 99, 25) GUICtrlCreateInput("", 16, 16, 81, 21) GUISetState(@SW_SHOW)
Error Variable used .....
05/26/2010 - AutoIt - 3 Replies
Hi, #include <NomadMemory.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <ButtonConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 625, 445, 193, 125)
Username in Variable
04/01/2010 - AutoIt - 2 Replies
Hallo, ich wollte ein kleines Programm für meine jüngere Cousine anfertigen, denn sie hat viel Spaß an solchen Programmen ;) Und zwar möchte ich zuerst eine InputBox erscheinen lassen, inder nach dem Namen gefragt wird. Danach soll sich eine MsgBox öffnen, wo steht: Herzlich Willkommen ... ( ... = der Name) So siehts im Moment aus. $input1 = InputBox("Hallo", "Hallöchen! Bevor es losgehen kann, &CRLF möchte ich gern wissen, wie du heißt.") MsgBox("Herzlich Willkommen", "Herzlich...
Variable und down/up befehl
09/23/2009 - AutoIt - 0 Replies
Hallo! Also ich habe folgendes Problem: Ich will meine variable ($taste1) und den "{down}" tastendruck ausführen aber wie krieg ich das hin also möchte das die variable taste1 runtergedrückt wird bis ich sie wieder mit "{up}" loslasse. Allerdings weis ich es bei up auch nicht Mein script sieht bisher so aus Send($taste1 "{down}") Thx schonmal in vorraus:confused::( ok habs jetzt nach langer zeit =) ich hab es einfach über eine if schleife gemacht Ok Funktioniert doch net hat keiner...
Variable Mix + Max Values
08/24/2008 - Conquer Online 2 - 10 Replies
This is a reference for the minimum and maximum values for the Variables in C#. C# Type .Net Framework (System) type Signed? Bytes Occupied Possible Values sbyte System.Sbyte Yes 1 -128 to 127 short System.Int16 Yes 2 -32768 to 32767 int System.Int32 Yes 4 -2147483648 to 2147483647 long System.Int64 Yes 8 -9223372036854775808 to 9223372036854775807 byte System.Byte No 1 0 to 255 ushort System.Uint16 No 2 0 to 65535



All times are GMT +1. The time now is 18:26.


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.