|
1 registered members (TipmyPip),
5,553
guests, and 3
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
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
OP
Serious User
|
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
OP
Serious User
|
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
OP
Serious User
|
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: TWO]
#121483
04/05/07 16:54
04/05/07 16:54
|
Joined: Aug 2004
Posts: 1,305 New York
PrenceOfDarkness
OP
Serious User
|
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
OP
Serious User
|
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
Black_Sheep
Newbie
|
Newbie
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.
|
|
|
|