Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Need help please
Need help please [message #467999] Sat, 26 May 2012 00:01 Go to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

I've been editing Reborns old vet system and trying to learn from it at the same time, It compiles fine but it now crashes my server when it's on.

What I'm trying to get it to do is like MW2 does when you start you have 0 rank points you play and rank up till you get to GA then you can reset it and do it all over again.

So I'm trying to make it like that in ren so you keep your vet points instead of it resetting every map, or when you leave and rejoin, So it's like a Rank system really cause all the players will be ranking up and getting weapons and health and armor, and instead of loosing it when the next map comes or when you leave and rejoin, it will stay so if you play one day and get to 2 1st class, and then you don't play for 2 days, and you get back on, you will still be 2 1st class, and still have all your weapons and health and armor upgrades. ;p

Here's what it say's when it Crashes.
Problem signature:
  Problem Event Name:	BEX
  Application Name:	server.dat
  Application Version:	1.37.0.1
  Application Timestamp:	3e303b7e
  Fault Module Name:	veteran.dll
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	4fc0afef
  Exception Offset:	0000cf3a
  Exception Code:	c0000417
  Exception Data:	00000000
  OS Version:	6.1.7601.2.1.0.768.3
  Locale ID:	1033
  Additional Information 1:	0b66
  Additional Information 2:	0b66254370c2d9f2985b0c5de90f53d8
  Additional Information 3:	9c99
  Additional Information 4:	9c99111c9b5a0ff900d1a25593cdf98e

Code
[/align]


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide

[Updated on: Sat, 26 May 2012 01:41]

Report message to a moderator

Re: Need help please [message #468005 is a reply to message #467999] Sat, 26 May 2012 02:47 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4300
Registered: April 2011
Karma: 0
General (4 Stars)
Your code is of very poor quality, do a total rewrite and start with figuring out how to store and retrieve data in a database, then figure out how to use a hash table, then assigning vet points to a player, then how to have actions give out vet points, then how to give a player a rank, then the vet-related commands and than giving promoted players goodies. Be sure to add debugging console output to every function so you have a tight understanding of what your code is actually doing in any part of its execution.

After you'e got your database code working you can pretty much use this veteran system plugin as base:

http://www.renegadeforums.com/index.php?t=msg&goto=463595&rid=25967& srch=veteran+system#msg_463595


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: Need help please [message #468026 is a reply to message #467999] Sat, 26 May 2012 10:01 Go to previous messageGo to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

I'm trying to just use .ini files as a database instead of making a database, and I'm trying to make it for 3.4 not 4.0 atm.

But I will learn how to do that.


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
Re: Need help please [message #468028 is a reply to message #467999] Sat, 26 May 2012 10:12 Go to previous messageGo to next message
shaitan is currently offline  shaitan
Messages: 727
Registered: April 2005
Location: Pennsylvania
Karma: 0
Colonel
Having it set up the way that you describe is a bad idea. It's totally unfair for newly joined players to your server.

Aircraftkiller wrote on Sun, 18 Jan 2004 07:38

I get along with people fine, so long as they aren't rejects who promised things that they couldn't
deliver on, or forum trolls who contribute nothing except to bloat the fragile egos of the same
rejects I despise.

Re: Need help please [message #468033 is a reply to message #467999] Sat, 26 May 2012 10:58 Go to previous messageGo to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

How?

They will be put two pvt then they have to work there way up to.

Just like people in MW2, to get what the other players have they work and work at it until they are the best, Its a never ending cycle. ;p

I was pissed when I first started to play MW2 and everyone I was playing had better guns then me, until I made it to the top with them and still was kicking there ass. ;p


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
Re: Need help please [message #468039 is a reply to message #467999] Sat, 26 May 2012 13:26 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)
Are you trying to basically make an EXP system like I had in st0rm and Atomix?

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: Need help please [message #468049 is a reply to message #468039] Sat, 26 May 2012 13:59 Go to previous messageGo to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

Xpert wrote on Sat, 26 May 2012 15:26

Are you trying to basically make an EXP system like I had in st0rm and Atomix?


Yes But make it so the players keep there weapons, until they use a command like !resetrank or w/e, then they loose all there weapons and health armor, and have to regain it back.


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide

[Updated on: Sat, 26 May 2012 14:02]

Report message to a moderator

Re: Need help please [message #468056 is a reply to message #467999] Sat, 26 May 2012 15:41 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
You should look into database support.


Re: Need help please [message #468094 is a reply to message #468033] Sun, 27 May 2012 17:35 Go to previous messageGo to next message
Ani is currently offline  Ani
Messages: 399
Registered: February 2012
Location: New York City
Karma: 0
Commander
DistrbdSt0rm21 wrote on Sat, 26 May 2012 10:58

How?

They will be put two pvt then they have to work there way up to.

Just like people in MW2, to get what the other players have they work and work at it until they are the best, Its a never ending cycle. ;p

I was pissed when I first started to play MW2 and everyone I was playing had better guns then me, until I made it to the top with them and still was kicking there ass. ;p


Not to sound mean, but you were just bad at the game. Famas and UMP were the best guns in the game and they were unlocked right of the bat, (ACR gets unlocked later) and even if you were one of those quickscope fags you had the Intervention and 50 cal off the bat as well.

[Updated on: Sun, 27 May 2012 17:55]

Report message to a moderator

Re: Need help please [message #468097 is a reply to message #468094] Sun, 27 May 2012 19:31 Go to previous messageGo to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

Animoskity wrote on Sun, 27 May 2012 19:35

DistrbdSt0rm21 wrote on Sat, 26 May 2012 10:58

How?

They will be put two pvt then they have to work there way up to.

Just like people in MW2, to get what the other players have they work and work at it until they are the best, Its a never ending cycle. ;p

I was pissed when I first started to play MW2 and everyone I was playing had better guns then me, until I made it to the top with them and still was kicking there ass. ;p


Not to sound mean, but you were just bad at the game. Famas and UMP were the best guns in the game and they were unlocked right of the bat, (ACR gets unlocked later) and even if you were one of those quickscope fags you had the Intervention and 50 cal off the bat as well.

wow way to go off topic and try to say I was bad at the game.

I sucked the first two levels then I owned everyone, and everyone sucks at one point and time, and beside I reset my rank 10 times, by that time I sold my 360 and all my games to come back to the pc.

It's not really hard to be good at MW2 all you do is point and shoot there is not tatics to it, run like a n00b then you shoot like a n00b and you get a kill.

NO BRAIN POWER AT ALL.

Now get back on topic, even though it's dead.



Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
Re: Need help please [message #468101 is a reply to message #467999] Sun, 27 May 2012 21:38 Go to previous message
bmruze is currently offline  bmruze
Messages: 62
Registered: March 2006
Location: South Carolina
Karma: 1
Recruit

Reborn is correct, you should look into database support. ini/txt files can work but it will be messy.

https://content.screencast.com/users/bmruze/folders/Jing/media/b3acb17d-6b52-4e10-8183-eae956a12446/2017-09-02_0843.png
Previous Topic: It's there a Grant Power Up script?
Next Topic: 4.0 doesn't support some stuff that 3.4 did??
Goto Forum:
  


Current Time: Tue Jul 02 01:26:36 MST 2024

Total time taken to generate the page: 0.00818 seconds