| Home » Renegade Discussions » Mod Forum » Scripts.dll help 
	| 
		
			| Scripts.dll help [message #97212] | Fri, 25 June 2004 14:24   |  
			| 
				
				|  | 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.
 |  
	|  |  | 
	Goto Forum:
	|  |  | Scripts.dll help By: thinlan  on Sat, 19 June 2004 12:46 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: thinlan  on Sat, 19 June 2004 12:51 |  
	|  |  | Scripts.dll help By: thinlan  on Mon, 21 June 2004 17:59 |  
	|  |  | Scripts.dll help By: jonwil  on Mon, 21 June 2004 18:33 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: thinlan  on Mon, 21 June 2004 19:02 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: thinlan  on Tue, 22 June 2004 12:59 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: thinlan  on Tue, 22 June 2004 22:30 |  
	|  |  | Scripts.dll help By: thinlan  on Tue, 22 June 2004 22:32 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: thinlan  on Wed, 23 June 2004 02:18 |  
	|  |  | Scripts.dll help By: Tidu  on Wed, 23 June 2004 08:06 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: Spice  on Wed, 23 June 2004 11:53 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: thinlan  on Wed, 23 June 2004 15:48 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: mac  on Fri, 25 June 2004 15:03 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: thinlan  on Sun, 27 June 2004 03:30 |  
	|  |  | Scripts.dll help |  
	|  |  | Scripts.dll help By: thinlan  on Sun, 27 June 2004 09:16 |  
 
 Current Time: Fri Oct 31 15:04:58 MST 2025 
 Total time taken to generate the page: 0.01121 seconds |