Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Veteran Plugin.  () 1 Vote
Re: Veteran Plugin. [message #300825 is a reply to message #300789] Mon, 03 December 2007 16:13 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
RoShamBo wrote on Mon, 03 December 2007 15:11

Just something you should worry about, but otherwise it's good.

Get_Player_Name
Get_Player_Name_By_ID
Get_Wide_Player_Name
Get_Wide_Player_Name_By_ID
WideCharToChar
CharToWideChar

need to be (delete [])-ed

const char *pName = Get_Player_Name_By_ID(10);
if(pName)
{
   //use
   delete []pName;
}




Just call roshambo the plumber from now on. Razz



Hex wrote on Mon, 03 December 2007 15:30

Gen_Blacky wrote on Sun, 02 December 2007 14:19

im surprised some 1 would release there Veteran system. theres like 3 or more going around in ren but people don't like sharing.



People do share, but some get annoyed when others demand the source be released



Well, I really don't see the point in with-holding it.
Sure, someone might change some stuff, they might add a blue medal instead of a green one. Or they might make it some crazy extreme veteran system. They might change it drastically and call it there own. Someone might spot some leaky ass code and post it right after you post your source. Listen

Who cares?

People will learn from your code, they might see something and it just clicks. Oh that's why it has it's own separate function, it's called in three different places, so you re-use that code. Or whatever...

The worst that's gonna happen is it doesn't really work that well, people rip it off, or people laugh at your crappy code.

The best that could happen is a bunch of players enjoy the system, and some eager server owners gets interested or learns from your code. He might be able to make some improvements...

Look at SSGM, i'm pretty sure if it wasn't for vloktboky then we wouldn't have that right now. But it's only because Whitedragon carried it on that it is what it is today. Yet allot people on this forum wont of even heard of him. Don't let your own ego get in the way. It's the hardest thing to let go of in life.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: c++ simple commands
Next Topic: strings
Goto Forum:
  


Current Time: Tue Dec 24 23:25:46 MST 2024

Total time taken to generate the page: 0.01607 seconds