Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Post scripts 4.0 code questions here
Post scripts 4.0 code questions here [message #453527] Thu, 08 September 2011 06:17 Go to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

If you have any questions about the new scripts 4.0 code that was recently released, please post them here and I will do my best to answer them.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Post scripts 4.0 code questions here [message #453554 is a reply to message #453527] Thu, 08 September 2011 09:25 Go to previous messageGo to next message
cAmpa is currently offline  cAmpa
Messages: 597
Registered: March 2006
Karma: 0
Colonel
I've trouble with VS 2010 while compiling, it always has trouble with writing the .map files.

http://msdn.microsoft.com/en-us/library/ts7eyw4s(v=VS.71).aspx

Any idea how to fix this problem?


Bückstabü!

[Updated on: Thu, 08 September 2011 09:26]

Report message to a moderator

Re: Post scripts 4.0 code questions here [message #453555 is a reply to message #453527] Thu, 08 September 2011 09:29 Go to previous messageGo to next message
kamuixmod is currently offline  kamuixmod
Messages: 211
Registered: July 2010
Karma: 0
Recruit
the modtools aka the leveledit thing file. it says that ttle.dll misses

http://img46.imageshack.us/img46/5836/kmauixsignature.png
Re: Post scripts 4.0 code questions here [message #453620 is a reply to message #453527] Thu, 08 September 2011 16:41 Go to previous messageGo to next message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma: 0
Recruit
I can compile scripts.dll but the file is 5054kb where as the one shipped with 4.0 is only 2593kb. If I run the self compiled dll the FDS crashes on startup.

Crashdump avaliable, just too big for upload.

Thanks Smile
Re: Post scripts 4.0 code questions here [message #453625 is a reply to message #453527] Thu, 08 September 2011 17:04 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
Yes, Were was the code released... so that I may get a copy.

http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: Post scripts 4.0 code questions here [message #453626 is a reply to message #453527] Thu, 08 September 2011 17:07 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
http://www.tiberiantechnologies.org/downloads

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Post scripts 4.0 code questions here [message #453631 is a reply to message #453527] Thu, 08 September 2011 17:49 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

cAmpa, try hitting "build" again. I get that same error sometimes and hitting "build" a second time always makes it work.

kamuixmod, how did you install scripts 4.0? Also kamuixmod, if you have MSN/AIM/ICQ/Yahoo/IRC, talk to me (my details are in my profile)

sycar, can you zip up the crashdump plus the scripts.dll and scripts.pdb files that were created by visual C++ and upload them somewhere, I will use that information to help analyze your problem. Also sycar, if you have MSN/AIM/ICQ/Yahoo/IRC, talk to me (my details are in my profile)


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Post scripts 4.0 code questions here [message #453703 is a reply to message #453555] Fri, 09 September 2011 06:16 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
kamuixmod wrote on Thu, 08 September 2011 10:29

the modtools aka the leveledit thing file. it says that ttle.dll misses

Did you try placing TTle.dll in the level edit scripts folder if your using the non jonwil leveleditor?


Re: Post scripts 4.0 code questions here [message #453846 is a reply to message #453620] Fri, 09 September 2011 17:08 Go to previous messageGo to next message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma: 0
Recruit
sycar wrote on Fri, 09 September 2011 00:41

I can compile scripts.dll but the file is 5054kb where as the one shipped with 4.0 is only 2593kb. If I run the self compiled dll the FDS crashes on startup.

Crashdump avaliable, just too big for upload.

Thanks Smile



I have since spoke to StealthEye about this, who's said theres currently an issue with the source if you run it in "debug" mode but dont't have a debug edition of tt.dll. To solve the issue I just had to change it to a "release" edition when compiling. Smile
Re: Post scripts 4.0 code questions here [message #453849 is a reply to message #453527] Fri, 09 September 2011 17:20 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

Yeah if you build in debug mode and dont have a debug version of the other dlls (bandtest.dll, tt.dll, ttle.dll, shaders.dll etc) things WILL fail.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Post scripts 4.0 code questions here [message #453889 is a reply to message #453527] Fri, 09 September 2011 23:21 Go to previous messageGo to next message
crazfulla is currently offline  crazfulla
Messages: 667
Registered: September 2006
Location: Aotearoa
Karma: 0
Colonel
Wrong thread sorry

"GEoDLeto wrote:"

so what you are saying it is gonna take even longer before this thing is finished
So the topic title should be changed to: a sucky little "teaser" from C&C Reborn has been released

"halo2pac wrote:"

Unless they are girls, I am not going to bone them.

[Updated on: Sat, 10 September 2011 01:13]

Report message to a moderator

Re: Post scripts 4.0 code questions here [message #453899 is a reply to message #453527] Sat, 10 September 2011 00:37 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

Those having problems compiling (or running) 4.0, make sure the drop-down at the top says "Release SSGM" and not "Debug" or "Debug SSGM"


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Post scripts 4.0 code questions here [message #453917 is a reply to message #453527] Sat, 10 September 2011 04:16 Go to previous messageGo to next message
cAmpa is currently offline  cAmpa
Messages: 597
Registered: March 2006
Karma: 0
Colonel
I need the debug mode. Huh

Bückstabü!
Re: Post scripts 4.0 code questions here [message #453977 is a reply to message #453527] Sat, 10 September 2011 15:17 Go to previous message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
How do I access cGameData member variables? Using a function like Get_Ip_Address() or directly grabbing the variable tells me that the member is protected.

I'm doing the following:
The_Game()->Get_Ip_Address()


edit: Ah, you need to use the Get_XXXX() member functions. It gave me an error when I used Get_Ip_Address() for some reason that went away after rebuilding twice.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Sat, 10 September 2011 15:50]

Report message to a moderator

Previous Topic: C&C_Epocilation
Next Topic: DynamicVectorClass problems
Goto Forum:
  


Current Time: Tue May 14 22:30:41 MST 2024

Total time taken to generate the page: 0.00932 seconds