| Author |
Message |
Shado 
UT Name: Letylove49 / Alicia UT Since: 2005 Gender:  Joined: Jul 30, 2010 Age: 42 Posts: 39
Reputation: 173.5   Status: Offline




 |
Posted: Tue Apr 12, 2011 11:11 pm
Post subject: server adds on Nexgen112 |
|
|
hi
i would like to add server adss on Nexgen112 but i got  this
Error: L:\UnrealTournament\Nexgen112F\Classes\NexgenHUD.uc(1556) : Error, Unexpected end of file at end of Class
Critical: appError called:
Critical: Failed due to errors.
Exit: Executing UObject::StaticShutdownAfterError
another thint  i woul like to put the advertise on the  Hud and not  a the same place than  NexgenMH210 ( because UTPure lock it) |
Last edited by Shado on Fri Apr 22, 2011 9:41 pm; edited 2 times in total |
|
|
|
-BoB- 
dU.Staff

UT Name: dU.BoB UT Since: 2005 Joined: Jul 20, 2010 Age: 51 Posts: 465 Location: England Reputation: 216.2   votes: 3 Status: Offline




 |
Posted: Tue Apr 12, 2011 11:40 pm
Post subject: Re: server adds on Nexgen112 |
|
|
wow, nasty error
e-mail me the nexgenhud.uc and I will take a look.
You can modify the HUD position by editing the cx and cy variables in the following code in renderMessageBox:
// Other low messages.
cy = msgBoxHeight + 2.0;
if (player.player.console.bTyping) {
cy += msgBoxLineHeight;
}
cy += (arraycount(messages)+3) * baseFontHeight;
for (index = 0; index < lmsgCount; index++) {
renderlMessage(c, cx, cy, lmessages[index]);
cy += baseFontHeight; |
|
|
|
|
Shado 
UT Name: Letylove49 / Alicia UT Since: 2005 Gender:  Joined: Jul 30, 2010 Age: 42 Posts: 39
Reputation: 173.5   Status: Offline




 |
Posted: Thu Apr 14, 2011 7:20 pm
Post subject: Re: server adds on Nexgen112 |
|
|
hi Bob
i have sent to you the flie NexgenHud.uc to your hotmail adress. |
|
|
|
|
Sponsor
|
|
Shado 
UT Name: Letylove49 / Alicia UT Since: 2005 Gender:  Joined: Jul 30, 2010 Age: 42 Posts: 39
Reputation: 173.5   Status: Offline




 |
Posted: Sat Apr 16, 2011 5:50 pm
Post subject: Re: server adds on Nexgen112 |
|
|
i have forgot this
var int lmsgCount; // Number of other lower messages stored.
but that don't solve the issue i continue to got the same error |
|
|
|
|
-BoB- 
dU.Staff

UT Name: dU.BoB UT Since: 2005 Joined: Jul 20, 2010 Age: 51 Posts: 465 Location: England Reputation: 216.2   votes: 3 Status: Offline




 |
Posted: Sat Apr 16, 2011 6:38 pm
Post subject: Re: server adds on Nexgen112 |
|
|
| I never received the mail with the uc file. Try my hotmail "andymitchell9999 AT hotmail DOT com" |
|
|
|
|
Shado 
UT Name: Letylove49 / Alicia UT Since: 2005 Gender:  Joined: Jul 30, 2010 Age: 42 Posts: 39
Reputation: 173.5   Status: Offline




 |
Posted: Sat Apr 16, 2011 10:00 pm
Post subject: Re: server adds on Nexgen112 |
|
|
ok i have send you again at andymitchell9999athotmail.com
my msn is shado49athotmail.fr
is you don't get this time i don't know why |
Last edited by Shado on Sun Apr 17, 2011 7:56 pm; edited 2 times in total |
|
|
|
Sponsor
|
|
-BoB- 
dU.Staff

UT Name: dU.BoB UT Since: 2005 Joined: Jul 20, 2010 Age: 51 Posts: 465 Location: England Reputation: 216.2   votes: 3 Status: Offline




 |
Posted: Sun Apr 17, 2011 1:52 am
Post subject: Re: server adds on Nexgen112 |
|
|
Got it this time :)
Will read it tomorrow  |
|
|
|
|
-BoB- 
dU.Staff

UT Name: dU.BoB UT Since: 2005 Joined: Jul 20, 2010 Age: 51 Posts: 465 Location: England Reputation: 216.2   votes: 3 Status: Offline




 |
Posted: Sun Apr 17, 2011 10:03 pm
Post subject: Re: server adds on Nexgen112 |
|
|
I can't see anything obvious wrong. Thats a weird error, as I would have thought something like that would get detected at compile time and not runtime. Have you tried using the nexgenHUD.uc from the MH version of nexgen?
If that works, then all you need to do is make your changes a little at a time, and see where it fails.
B  |
|
|
|
|
Shado 
UT Name: Letylove49 / Alicia UT Since: 2005 Gender:  Joined: Jul 30, 2010 Age: 42 Posts: 39
Reputation: 173.5   Status: Offline




 |
Posted: Mon Apr 18, 2011 2:32 am
Post subject: Re: server adds on Nexgen112 |
|
|
no i don't.
because i don't want that login message be at the same place thant MH edition because that is uncompatible UT Pure ant thais will be locked.
i will tying to resart with the preview version of my Nexgen |
|
|
|
|
Sponsor
|
|
-BoB- 
dU.Staff

UT Name: dU.BoB UT Since: 2005 Joined: Jul 20, 2010 Age: 51 Posts: 465 Location: England Reputation: 216.2   votes: 3 Status: Offline




 |
Posted: Mon Apr 18, 2011 10:19 am
Post subject: Re: server adds on Nexgen112 |
|
|
| But you can always change that part of the code after its all working. Just thinking it might be better to work from something that works first. |
|
|
|
|
Shado 
UT Name: Letylove49 / Alicia UT Since: 2005 Gender:  Joined: Jul 30, 2010 Age: 42 Posts: 39
Reputation: 173.5   Status: Offline




 |
Posted: Mon Apr 18, 2011 3:05 pm
Post subject: Re: server adds on Nexgen112 |
|
|
i have tring tu put your  NexgenHud.uc but that don't work. probabely a thing you have added who don't exist on Nexgen112  ( showkillmessage i belive.)
now  i got this : 2 error
Error: L:\UnrealTournament\Nexgen112F\Classes\NexgenController.uc(2074) : Error, Unexpected 'if'
Critical: appError called:
Critical: Failed due to errors.
Exit: Executing UObject::StaticShutdownAfterError
Critical: CompileError
: L:\UnrealTournament\Nexgen112F\Classes\NexgenHUD.uc(1025) : Error, Bad or missing expression after '<'
Critical: appError called:
Critical: Failed due to errors.
Exit: Executing UObject::StaticShutdownAfterError
Critical: CompileError |
Last edited by Shado on Mon Apr 18, 2011 3:38 pm; edited 1 time in total |
|
|
|
-BoB- 
dU.Staff

UT Name: dU.BoB UT Since: 2005 Joined: Jul 20, 2010 Age: 51 Posts: 465 Location: England Reputation: 216.2   votes: 3 Status: Offline




 |
Posted: Mon Apr 18, 2011 3:07 pm
Post subject: Re: server adds on Nexgen112 |
|
|
Ahh, i just realised. The first error that you posted WAS a compiler error. What confused me what the Critical errors afterwards. I use the WOTgreal editor to compile and it doesnt show the error in this way.
I suspect that in your original file you have a bracket error. Work through the functions and check you have matching brackets, curly ones and normal ones.
B  |
|
|
|
|
Sponsor
|
|
Shado 
UT Name: Letylove49 / Alicia UT Since: 2005 Gender:  Joined: Jul 30, 2010 Age: 42 Posts: 39
Reputation: 173.5   Status: Offline




 |
Posted: Mon Apr 18, 2011 6:36 pm
Post subject: Re: server adds on Nexgen112 |
|
|
| i don't saw what is wrong with this < ? |
|
|
|
|
-BoB- 
dU.Staff

UT Name: dU.BoB UT Since: 2005 Joined: Jul 20, 2010 Age: 51 Posts: 465 Location: England Reputation: 216.2   votes: 3 Status: Offline




 |
Posted: Mon Apr 18, 2011 6:49 pm
Post subject: Re: server adds on Nexgen112 |
|
|
| Ok, I will have another look at it. Not tonight though, as I will be drinking beer until I fall over! |
|
|
|
|
-BoB- 
dU.Staff

UT Name: dU.BoB UT Since: 2005 Joined: Jul 20, 2010 Age: 51 Posts: 465 Location: England Reputation: 216.2   votes: 3 Status: Offline




 |
Posted: Mon Apr 18, 2011 9:03 pm
Post subject: Re: server adds on Nexgen112 |
|
|
I suspect this is the problem:
if (locationName != "" && bShowPlayerLocation) {
addChatMsg(playerColor, pri1.playerName, C_CYAN, " (" $ locationName $ "): ", messageColor, msg);
} else {
addChatMsg(playerColor, pri1.playerName $ ": ", C_GREEN, msg);
}
else if (msgType == 'LowColorised') {
// Lower colorised message box
addLowMsg(class'NexgenUtil'.static.getMessageColor(msg), class'NexgenUtil'.static.removeMessageColorTag(msg));
Look at the end of the function 'message'.
B  |
|
|
|
|
Sponsor
|
|
Shado 
UT Name: Letylove49 / Alicia UT Since: 2005 Gender:  Joined: Jul 30, 2010 Age: 42 Posts: 39
Reputation: 173.5   Status: Offline




 |
Posted: Tue Apr 19, 2011 12:11 am
Post subject: Re: server adds on Nexgen112 |
|
|
ok afther addef your setting is good but i got again this : Error: L:\UnrealTournament\Nexgen112F\Classes\NexgenHUD.uc(1593) : Error, Unexpected end of file at end of Class
Critical: appError called:
Critical: Failed due to errors.
Exit: Executing UObject::StaticShutdownAfterError |
|
|
|
|
-BoB- 
dU.Staff

UT Name: dU.BoB UT Since: 2005 Joined: Jul 20, 2010 Age: 51 Posts: 465 Location: England Reputation: 216.2   votes: 3 Status: Offline




 |
Posted: Tue Apr 19, 2011 10:52 am
Post subject: Re: server adds on Nexgen112 |
|
|
Adding what setting? I didnt give you the fixed code, I only showed you where the problem was.
Send me the .uc file again. |
|
|
|
|
Shado 
UT Name: Letylove49 / Alicia UT Since: 2005 Gender:  Joined: Jul 30, 2010 Age: 42 Posts: 39
Reputation: 173.5   Status: Offline




 |
Posted: Tue Apr 19, 2011 3:47 pm
Post subject: Re: server adds on Nexgen112 |
|
|
| ok i send it to you |
|
|
|
|
Sponsor
|
|
|