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 previous message
gibberish
Messages: 366
Registered: May 2003
Karma:
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.
 
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: Scripts.dll
Next Topic: Taximes PT Icons
Goto Forum:
  


Current Time: Wed Jan 01 08:36:20 MST 2025

Total time taken to generate the page: 0.01590 seconds