| 
		
			| Scripts.dll help [message #97212] | Fri, 25 June 2004 14:24   |  
			| 
				
				|  | 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 #97222] | Fri, 25 June 2004 15:03   |  
			| 
				
				|  |  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   |  
			| 
				
				|  | 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   |  
			| 
				
				
					|  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 #97526] | Sun, 27 June 2004 09:16  |  
			| 
				
				
					|  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! |  
	|  |  |