Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 9:24 pm
All times are UTC + 0
New Building Freeze!?
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [20 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
kanehacker
Vehicle Driver


Joined: 19 Apr 2013
Location: batam

PostPosted: Fri Apr 19, 2013 2:06 pm    Post subject:  New Building Freeze!? Reply with quote  Mark this post and the followings unread

Hello guys! I'am new here and I want a help from you guys.,
My Tiberian sun game always freeze when I'am build new Building, the cursor is freeze and the sound is silence itself.

Here's the Rules.ini :

[Hack of Center]
Name=Hack of Center
TechLevel=8
Strength=3000
Nominal=yes
RadarInvisible=yes
Points=5
Armor=concrete
MaxDebris=0
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=-60,60,200
PlaceAnywhere=yes
Capturable=false
Image=CITY05
Cost=3000
Owner=AHI,Nod
Primary=ElectroWave
Sight=5
Power=150
BaseNormal=yes
Prerequisite=Crystal of Darkness
AIBuildThis=yes

Can someone help me please.,?



Crash.png
 Description:
 Filesize:  252.75 KB
 Viewed:  1961 Time(s)

Crash.png



_________________
I want to learn more about Tiberian Sun hacking

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Apr 19, 2013 2:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Do you use TibEd?

Space character in IDs is bad. Don't do that.

Check the weapon code. It could be wrong too.

Take a look at The newbie guide in modding

Welcome aboard PPM. Smile

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
kanehacker
Vehicle Driver


Joined: 19 Apr 2013
Location: batam

PostPosted: Fri Apr 19, 2013 2:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

@Lin Kuei Ominae, yes I'am using Tibed.
So how can I fix it?
I've check the weapon code and I'am launch the game again,
but it freeze again..,

_________________
I want to learn more about Tiberian Sun hacking

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Apr 19, 2013 2:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

Do not use TibEd!
Help is not provided here if someone uses TibEd, as this editor messes up the inis and puts in errors, bugs and other nasty things.
Use Notepad, Notepad++, UltraEdit or another text editor to edit the inis. (Don't use Word or Wordpad or they add stupid text formatting, change the character set etc)

Last edited by Lin Kuei Ominae on Fri Apr 19, 2013 2:50 pm; edited 1 time in total

Back to top
View user's profile Send private message
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Fri Apr 19, 2013 2:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think i might create some type of assertion code that picks up on things like spaces in object names, if its longer than 8 characters etc...

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Apr 19, 2013 2:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

Don't waste your time on that Hyper.
People have to learn how to mod right, then it works fine.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
kanehacker
Vehicle Driver


Joined: 19 Apr 2013
Location: batam

PostPosted: Sat Apr 20, 2013 12:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

@Lin Kuei Ominaei, I'am understand and I will not use Tibed again Smile
btw, thank's for your help! Smile

I will start edit with Notepad.,

_________________
I want to learn more about Tiberian Sun hacking

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account
Aydra
AA Infantry


Joined: 05 Apr 2012
Location: Canada

PostPosted: Sat Apr 20, 2013 3:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sup kanehacker, I used tibed at first till my mod crashed and was such a mess I had to recode the whole thing. Get Notepad++ and use a color theme that makes it easy to look at.



notepadplus.jpg
 Description:
 Filesize:  291.42 KB
 Viewed:  1867 Time(s)

notepadplus.jpg



_________________
MODDB Profile: http://www.moddb.com/mods/the-second-tiberium-war

Back to top
View user's profile Send private message
kanehacker
Vehicle Driver


Joined: 19 Apr 2013
Location: batam

PostPosted: Sun Apr 21, 2013 2:21 am    Post subject: Reply with quote  Mark this post and the followings unread

Thank's @Aydra! Smile
well, I've create my mod with notepad and it's work without freeze.,

Then, I'am adding 20 new vehicle and 10 new weapon, it make freeze my game again when I'am build some construction.

Do you think that freeze is cause by add 20 new vehicle?

_________________
I want to learn more about Tiberian Sun hacking

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Sun Apr 21, 2013 3:06 am    Post subject: Reply with quote  Mark this post and the followings unread

You can add any number of vehicles without causing the game to freeze; the only problem is that the AI will keep producing only 1 single unit if there are more than 100 units in total (and you're still far from that amount).

You should add new units and their corresponding weapons one at a time and once you have confirmed it works correctly ingame, you can add the next unit+weapon. That way you'll always know exactly which of the new units or weapons is causing the game to crash.

_________________

Back to top
View user's profile Send private message ModDB Profile ID YouTube User URL Facebook Profile URL
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Apr 21, 2013 8:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Read the The newbie guide in modding
Lin Kuei Ominae @ The newbie guide in modding wrote:
The second rule is, never make so much changes at once that you can't trace back what you have done, or you get serious problems if you once get an IE (Internal Error) because you made a mistake and the game crashes.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Sun Apr 21, 2013 3:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Aydra wrote:
Sup kanehacker, I used tibed at first till my mod crashed and was such a mess I had to recode the whole thing. Get Notepad++ and use a color theme that makes it easy to look at.


What theme is that?

Back to top
View user's profile Send private message
tomsons26lv
Cyborg Artillery


Joined: 30 Dec 2009
Location: Latvia

PostPosted: Sun Apr 21, 2013 3:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

CCHyper wrote:
Aydra wrote:
Sup kanehacker, I used tibed at first till my mod crashed and was such a mess I had to recode the whole thing. Get Notepad++ and use a color theme that makes it easy to look at.


What theme is that?

Monokai, it comes with N++,
Settings > Style configurator
As for the treeview stuff and highlights, Language > MS INI

_________________
Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1

Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite

Back to top
View user's profile Send private message Visit poster's website
kanehacker
Vehicle Driver


Joined: 19 Apr 2013
Location: batam

PostPosted: Thu Apr 25, 2013 2:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yeah, finally I fix the problem! Smile
Thank's to you guys!

The problem is the weapon ID, like @Lin Kuei Ominae say..,
and I'am check it out then fix it.
The game is running normally.,
Thank's again @Lin Kuei Ominae! Smile

_________________
I want to learn more about Tiberian Sun hacking

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account
kanehacker
Vehicle Driver


Joined: 19 Apr 2013
Location: batam

PostPosted: Wed May 01, 2013 1:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

guys!,
I got a problem again..
Why when I'am add 10 new vehicle,
NOD and GDI is always make that new vehicle,
But, I've put "AIBuildThis=no" to every new vehicle and they still build that new vehicles.

_________________
I want to learn more about Tiberian Sun hacking

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account
kanehacker
Vehicle Driver


Joined: 19 Apr 2013
Location: batam

PostPosted: Wed May 01, 2013 1:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

This :



problem2.png
 Description:
 Filesize:  473.5 KB
 Viewed:  1661 Time(s)

problem2.png



problem.png
 Description:
 Filesize:  472.21 KB
 Viewed:  1661 Time(s)

problem.png



_________________
I want to learn more about Tiberian Sun hacking

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Wed May 01, 2013 1:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

You can't have any buildable vehicles past index 100 or the AI will build them endlessly.

Also, what units the AI builds is defined in AI(FS).ini, AIBuildThis= applies to buildings only.

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed May 01, 2013 5:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

^^that
keep the units with Techlevel=-1 past index 100 in the VehicleTypes list and the buildable ones before index 100. Then the AI doesn't goes nuts.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
kanehacker
Vehicle Driver


Joined: 19 Apr 2013
Location: batam

PostPosted: Thu May 02, 2013 10:05 am    Post subject: Reply with quote  Mark this post and the followings unread

@Lien Kuei Ominae, what do you mean "keep the units with Techlevel=-1 past index 100 in the VehicleTypes list and the buildable ones before index 100."?

Sorry, because I'am really confused about this.

_________________
I want to learn more about Tiberian Sun hacking

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Thu May 02, 2013 10:25 am    Post subject: Reply with quote  Mark this post and the followings unread

In the [VehicleTypes] list there shouldn't be more than 100 units or the AI will keep building only the 101st unit in the list. So if you do have more than 100 units in the list, the only way to prevent this from happening without removing any units is by moving all units with TechLevel=-1 to the bottom of the list so that all buildable units (units with a tech level that isn't -1) come before 101= and only units with TechLevel=-1 come after the 100th unit in the list.

_________________

Back to top
View user's profile Send private message ModDB Profile ID YouTube User URL Facebook Profile URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [20 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2411s ][ Queries: 17 (0.0165s) ][ Debug on ]