Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripts.dll help
Scripts.dll help [message #97212] Fri, 25 June 2004 14:24 Go to previous messageGo to next message
gibberish
Messages: 366
Registered: May 2003
Karma: 0
Commander
Silent Kane

Don't post code without refering to the copyright, gibberish.


I don't know for sure who wrote the following code: (it wasn't me)


void ConsoleCommand(const char *msg) 
{ 
   typedef void (*ConsoleMsg)(const char *); 
   ConsoleMsg do_consolemsg; 
   do_consolemsg = (ConsoleMsg)0x00428960; 
   do_consolemsg(msg); 
} 

unsigned long GetPlayerData(GameObject *obj) 
{ 
   __asm { 
      mov edx, obj 
      mov eax, dword ptr[edx + 960h] 
   }; 
} 
  
GetName(unsigned long ptr_) 
{
   __asm { 
      mov edx, [ptr_] 
      mov eax, dword ptr[edx + 758h] 
   }
}



I should have included the following disclamer with both snippets:
I apologize for this omission.


This file is part of the Server Side AOW Library.

  The Server Side AOW Library is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License as published by the
  Free Software Foundation; either version 2 of the License, or (at your option)
  any later version.

  The Server Side AOW Library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  more details.

  You should have received a copy of the GNU General Public License along with
  the Server Side AOW Library; if not, write to the Free Software Foundation,
  Inc.,  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/



However in the code I received AOW.cpp no particular copyright is claimed on those three functions.

However if anyone can prove they wrote it I will gladly add a copyright notice for them.

If anyone really wants me to I will post the whole GNU public License here, otherwise you can just go here: http://www.gnu.org/licenses/gpl.html


The remainder of the code is Copyright Gibberish.

The functions:

char *wcstombsnew(LPCWSTR lpszSource) 
LPWSTR wcsdupnew(LPCWSTR lpszSource) 


Are public domain covered under the Berkley license:

http://www.opensource.org/licenses/bsd-license.php

The remaining functions as derived works are distributed under the original GNU License.
Scripts.dll help [message #97221] Fri, 25 June 2004 15:00 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
GetPlayerData and GetName are mine. And I don't care about some shitty licenses.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Scripts.dll help [message #97222] Fri, 25 June 2004 15:03 Go to previous messageGo to next message
mac is currently offline  mac
Messages: 1018
Registered: February 2003
Karma: 0
General (1 Star)
Administrator/General
I wrote ConsoleCommand, with help from Silent Kane. I gave it orginally to vloktboky.

Quote:


danpaul88: buggy bugs brenbot because buggy befriends brainlessness

Scripts.dll help [message #97246] Fri, 25 June 2004 17:23 Go to previous messageGo to next message
gibberish
Messages: 366
Registered: May 2003
Karma: 0
Commander
The previous code is copyright Silent Kane and Mac,

Distributed under the GNU public license.
Scripts.dll help [message #97480] Sun, 27 June 2004 03:30 Go to previous messageGo to next message
thinlan is currently offline  thinlan
Messages: 25
Registered: July 2003
Karma: 0
Recruit
ok i spent like 3 days just looking at that code.... and only 1 word came to mind.. that was.. Eh?
Scripts.dll help [message #97482] Sun, 27 June 2004 04:02 Go to previous messageGo to next message
PermaGrin
Messages: 285
Registered: June 2004
Location: Winter Park, Fl
Karma: 0
Recruit

looks to me that you are biting off more than you can chew, thin.
Scripts.dll help [message #97526] Sun, 27 June 2004 09:16 Go to previous message
thinlan is currently offline  thinlan
Messages: 25
Registered: July 2003
Karma: 0
Recruit
Hey i didnt know it would be this difficult! i made other stuff using scripts.dll i thought id step it up a bit!
Previous Topic: Scripts.dll
Next Topic: Taximes PT Icons
Goto Forum:
  


Current Time: Fri Aug 16 02:54:28 MST 2024

Total time taken to generate the page: 0.00645 seconds