Forums Index >> Modding >> ACAS Bind Error Fixed



Page : <1> :


For those of you who are annoyed by the bind errors in your dedicated server window when using ACAS look no further!
It appears Art Crazy was using the wrong key mapping function when he tried to make the observer script and the display gui function for his admin script... But that has been fixed!

If you dont want to dig in some files, download the replacement files here! (at the bottom of the page...)

If you would rather replace the lines of code yourself... Follow along...

In the Observer 1.cs file find these two lines...

 

                                        
moveMap.bind(keyboard,"ctrl o",ObservKeyBind);
MoveMap.bind(keyboard,"alt o",MMsObserverKeyBind);

 

Replace them with these two lines...

 

                                        
GlobalActionMap.bind(keyboard,"ctrl o",ObservKeyBind);
GlobalActionMap.bind(keyboard,"alt o",MMsObserverKeyBind);

 

And in your prefs.cs file find this line...

 

                                        
moveMap.bind(keyboard,"ctrl s","ShowACAdminScriptGui");

 

And replace it with...

 

                                        
GlobalActionMap.bind(keyboard,"ctrl s","ShowACAdminScriptGui");

 

Hope this makes enough sense for you guys...
Enjoy! B)

War

Edit: I know I have a load of information for you to change and fix regarding ACAS... Very soon I will have the entire thing ready to re-download as a whole so dont worry! :)

 

 

 

 

Last edited: Sunday, November 27, 2005 at 7:03:49 PM

Sunday, November 27, 2005 at 6:53:13 PM

 

 

//----------------------------------------------------------------------------\
//--------------------------------- Bind -------------------------------------\
//----------------------------------------------------------------------------\
GlobalActionMap.bind(keyboard,"ctrl s","ShowACAdminScriptGui");

 

This was not in my admin script so I added it, Is that ok?

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Sunday, November 27, 2005 at 7:45:37 PM

Thats weird repent... It should be...
are you sure you are looking in your prefs.cs file?
yes it is ok that you added it if it wasnt there already... But it should be there already...
if you still have a bind error, tell me about it

 

 

 

 

Monday, November 28, 2005 at 8:31:46 AM

Lol... I don't think I had a bind error to start with. I just put it in because you said to. XD

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Monday, November 28, 2005 at 8:41:56 AM

Warfare, I think I have to teach you something...
MoveMap will ONLY work if you're in a server, while GlobalActionMap will work anywhere in TT, I made it movemap on porpose ;) as it can bring some bugs to the player if he accidentally clicks one of the keys on the menu and other parts.
Those errors are simple to fix, just use the way I used in the GUI script execs to just run server scripts if the game is dedicated. I thought I had included it in the binds... Ah well. Anyways if you can get it working just like I said I'd appreciate it :)

PS: Repent's version's bind is on one of the compiled files in the client side of the GUI folder... A bit old but it doesnt consist of any problem


Last edited: Tuesday, November 29, 2005 at 10:24:21 AM

Tuesday, November 29, 2005 at 10:09:26 AM

I dont need to be taught this time :)
That is the way it is supposed to be done...
Even GarageGames does it this way with their TGE demo...
ACAS is set up perfectly already for it to use Globalactionmap with no errors anywhere
But its not GG's script, its yours.
I guess I will just put it back the way it was...

 

 

 

 

Wednesday, November 30, 2005 at 8:27:27 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald