Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Objects.gm/ddb
Objects.gm/ddb [message #472780] Sat, 04 August 2012 15:01 Go to next message
Comp_uter15776 is currently offline  Comp_uter15776
Messages: 21
Registered: November 2010
Karma: 0
Recruit
Hey everyone,

Having a little trouble with getting a modified preset file to work so that users do not require to download the file, I know I have not added anything, only edited, so it should be possible. I have named my objects file as objects.gm and is .gm in the SSGM file.

However, when someone joins without the file, they receive the error "version mismatch" and have no choice but to quit. If someone has the file, they are able to connect and use full functionality.

I need to this work as it contains some helpful modifications such as obbygun/agtgun and ultigun!

Many thanks in advance,

Comp_uter15776
Re: Objects.gm/ddb [message #472784 is a reply to message #472780] Sat, 04 August 2012 16:30 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Comp_uter15776 wrote on Sat, 04 August 2012 18:01

Hey everyone,

Having a little trouble with getting a modified preset file to work so that users do not require to download the file, I know I have not added anything, only edited, so it should be possible. I have named my objects file as objects.gm and is .gm in the SSGM file.

However, when someone joins without the file, they receive the error "version mismatch" and have no choice but to quit. If someone has the file, they are able to connect and use full functionality.

I need to this work as it contains some helpful modifications such as obbygun/agtgun and ultigun!

Many thanks in advance,

Comp_uter15776


If you changed a name of a preset, then clients need to have that specific object file also.

If all you did was modify what weapon goes on a preset, then all you have to do is place it in the server's data folder. The client doesn't need to download the objects file.

If you're using a 4.0 server, then you need to add the objects file inside the tt.cfg file.


http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: Objects.gm/ddb [message #472808 is a reply to message #472780] Sun, 05 August 2012 01:01 Go to previous messageGo to next message
Comp_uter15776 is currently offline  Comp_uter15776
Messages: 21
Registered: November 2010
Karma: 0
Recruit
I seem thanks for that. I'll have a look over what's there, and if anything looks out of place, I'll just start again - nothing too major was edited.

Cheers for a swift reply!

Comp_uter15776.

EDIT: I started afresh, changed obbygun and agtgun, put it to .gm, ssgm to .gm, map specific settings to .gm, and it still doesn't work? :s It's not like, registering that the objects file is there.

[Updated on: Sun, 05 August 2012 01:57]

Report message to a moderator

Re: Objects.gm/ddb [message #472826 is a reply to message #472780] Sun, 05 August 2012 08:17 Go to previous messageGo to next message
Comp_uter15776 is currently offline  Comp_uter15776
Messages: 21
Registered: November 2010
Karma: 0
Recruit
No-one want to shed any light on this? D:
Re: Objects.gm/ddb [message #472843 is a reply to message #472780] Sun, 05 August 2012 11:53 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
i can try to help

what are exactly your changes and how did you do them


what are those changes for?



if i know these things i might be able to help


Owner of kambot TT server

kambot.freeforums.org
Re: Objects.gm/ddb [message #472854 is a reply to message #472780] Sun, 05 August 2012 13:33 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
You're not listening to what I just said in my first post.

You have to place the objects file name in the tt.cfg file. The objects file settings in the ssgm.ini is obsolete as it was moved to the tt.cfg file in beta 4.


A global setting would be this:
global:
{
	serverPresetsFile = "objects.gm";
};


A per-map setting would be something like this:
gameDefinitions:
{
	BasinTS:
	{
		mapName = "C&C_BasinTS";
		packages = ["C&C_BasinTS"];
		serverPresetsFile = "objects.gm";
	};
};


http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: Objects.gm/ddb [message #472856 is a reply to message #472780] Sun, 05 August 2012 14:03 Go to previous messageGo to next message
Comp_uter15776 is currently offline  Comp_uter15776
Messages: 21
Registered: November 2010
Karma: 0
Recruit
Xpert, I stated in my 2nd post that I changed map-specific settings to .gm, I actually did my research and saw a previous post you made where you detailed what your tt.cfg looked like.

Anyway, sorry to lash out like that, it's been a long day.

For more info, I changed POW_Double_Damage to Obbygun (the MX0 object), POW_Neuro_Link to Agtgun (the AGT_Missile object), POW_Adrenaline_Syring to the Ultigun (there's only one it can be I believe) and finally POW_Medal_Armor and POW_Medal_Health to Grant 50 Armor and 50 HP respectively.

This was all off memory (with regards to the POW_ names) but that's only say, POW_Medal_Armor might be POW_Armor_Medal or something. Everything else is correct. I've changed nothing else from that, and all presets are named as their originals.

Re: Objects.gm/ddb [message #472860 is a reply to message #472780] Sun, 05 August 2012 14:32 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 831
Registered: February 2003
Location: California
Karma: 1
Colonel
If I remember right changing the wrong things will make clients crash upon joining the game, not give them version mismatch errors. Double check that your file is named objects.gm and not objects.ddb. If you have a modified objects.ddb that will give version mismatch errors even if the serverPresetsFile is set to objects.gm and an objects.gm file is present.

Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Re: Objects.gm/ddb [message #472873 is a reply to message #472780] Sun, 05 August 2012 20:12 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
if those were the things you changed and only made each grant a weapon


the ddb itself wont be the problem


it is a setting


try using another extension than .gm
that worked for me


PS:
the mx0 obelisk has 999999999999 damage, you sure you want that one?


Owner of kambot TT server

kambot.freeforums.org
Re: Objects.gm/ddb [message #472876 is a reply to message #472780] Mon, 06 August 2012 01:24 Go to previous messageGo to next message
Comp_uter15776 is currently offline  Comp_uter15776
Messages: 21
Registered: November 2010
Karma: 0
Recruit
Erm, what other extensions are there? xD

And yep, it's objects.gm.
Re: Objects.gm/ddb [message #472881 is a reply to message #472876] Mon, 06 August 2012 08:04 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Comp_uter15776 wrote on Mon, 06 August 2012 03:24

Erm, what other extensions are there? xD

And yep, it's objects.gm.

Any extension you want on the planet. It doesn't have to be called objects.gm anymore, it can be called objects.exe if you so feel like it. Or objects.M01 (which we use to name our map specific ones). Or objects.porn.


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: Objects.gm/ddb [message #472924 is a reply to message #472780] Tue, 07 August 2012 01:08 Go to previous message
Comp_uter15776 is currently offline  Comp_uter15776
Messages: 21
Registered: November 2010
Karma: 0
Recruit
Still doesn't look like it wants to do it :/
Previous Topic: weapon hand position
Next Topic: C&C_Dockside
Goto Forum:
  


Current Time: Sat May 18 10:49:41 MST 2024

Total time taken to generate the page: 0.00824 seconds