Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,633 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
help needed converting over to lite C #121479
04/04/07 15:21
04/04/07 15:21
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
I'll just post all my questions here as i go this way I don't have to spam the forum with every new problem. I'm converting over a multiplayer game, so this might be useful to alot of ppl...

are event_var and event_str no longer valid? Because I cant find them in the atype.h or whatever it's called and i get an error. The manual still has them. If they are abandond, that'll cause me alot of problems since i was depending on them ALOT.


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: help needed converting over to lite C [Re: PrenceOfDarkness] #121480
04/04/07 23:49
04/04/07 23:49
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
I tried doing the following in a function but there was an error saying string isn't a part of login_text_o:
Code:

login_text_o.string = "Login Name:\nPassword:\nConferm Password:";


login_text_o looks like this:
Code:


TEXT* login_text_o = //the output
{
pos_x = 60;
pos_y = 60;
// strings = 1;
layer = 2;
}



Any ideas guys?


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: help needed converting over to lite C [Re: PrenceOfDarkness] #121481
04/05/07 06:30
04/05/07 06:30
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
Okay.. i finally converted over entirely to litec without any errors... However I might have ran into a bug..
Code:

beep();
temp = inkey(login_name);beep();
temp = inkey(login_password);beep();
temp = inkey(login_password_conferm);beep();
if(temp == 1){return;}beep();



After the 1st beep the game freezes any thats the end of that... I've checked out the manual... and nothing... Is there some kind of manual out there for lite C that I'm not aware of? Maybe one that lists all the changes from cscript to litec? The one in A7 prerelease sucks but hey i guess that a prerelease is suppost to?

Regardless it would be nice to get some help!


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: help needed converting over to lite C [Re: PrenceOfDarkness] #121482
04/05/07 09:45
04/05/07 09:45
Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
T
TWO Offline

Serious User
TWO  Offline

Serious User
T

Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
Please show use the definition of the strings.

Re: help needed converting over to lite C [Re: TWO] #121483
04/05/07 16:54
04/05/07 16:54
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
I got it to work... but let me read up on that part also, where in the manual can i Find that?


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: help needed converting over to lite C [Re: PrenceOfDarkness] #121484
04/05/07 17:31
04/05/07 17:31
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
Another simple script with a stupid error.

Code:

#include <acknex.h>
#include <default.c>

#define login_check_new 3
var login_check = 0;
function main()
{
wait(-3);beep();
login_check = login_check_new;
if(connection == 2) send_var(login_check);
}



for some reason send_var(login_check); keeps saying invalid arguments any clues?


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: help needed converting over to lite C [Re: PrenceOfDarkness] #121485
07/20/07 23:24
07/20/07 23:24
Joined: Jul 2004
Posts: 38
Germany, NRW
B
Black_Sheep Offline
Newbie
Black_Sheep  Offline
Newbie
B

Joined: Jul 2004
Posts: 38
Germany, NRW
uhm iam not the advanced coder, but whats about this:
function main()
{
wait(-3);beep();
login_check = login_check_new;
if(connection == 2)
{
send_var(login_check);
}
}


A7 Commercial.
Re: help needed converting over to lite C [Re: Black_Sheep] #121486
07/20/07 23:46
07/20/07 23:46
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
send_var_to(NULL,login_check);//correct


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1