Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: 3jorn
Forum: Coding MM:S Plugins & SM Extensions 09-23-2007, 09:24
Replies: 2
Views: 1,960
Posted By 3jorn
Re: Need Help

Assuming you're compiling for example a server plugin, it generates a .dll file for windows.
If you are compiling in Linux, you'll compile a .so file.

These go under your mods addons folder...
Forum: Coding MM:S Plugins & SM Extensions 09-17-2007, 19:54
Replies: 4
Views: 1,854
Posted By 3jorn
Re: Entities on server

hehe thanks, however when it breaks, I'll probably be left baffled anyways :)
I'm still pretty new at this, it takes a while to get a really good understanding of it.

But I do understand what...
Forum: Coding MM:S Plugins & SM Extensions 09-17-2007, 02:00
Replies: 4
Views: 1,854
Posted By 3jorn
Re: Entities on server

My code is for CS:S only.
Please forgive me, I'm having trouble understanding why it might break if it compiles and work properly for both Windows and linux.
If compiled with the correct headers,...
Forum: Coding MM:S Plugins & SM Extensions 09-16-2007, 18:04
Replies: 4
Views: 1,854
Posted By 3jorn
Entities on server

I was playing around with the entities today, and made this command

CON_COMMAND( print_edicts, "print the edicts with classnames" )
{
for(int i = 0; i < engine->GetEntityCount(); i++)
{...
Forum: Coding MM:S Plugins & SM Extensions 09-13-2007, 13:06
Replies: 0
Views: 1,247
Posted By 3jorn
Usermessage UpdateRadar

Does anyone know what inputs this takes? (writebytes etc..)
Forum: Coding MM:S Plugins & SM Extensions 08-20-2007, 05:52
Replies: 9
Views: 2,948
Posted By 3jorn
Re: Signature Database

http://wiki.tcwonline.org/index.php/Signatures Is this Wiki down?
Forum: Coding MM:S Plugins & SM Extensions 08-07-2007, 05:06
Replies: 2
Views: 1,531
Posted By 3jorn
Re: Index of entity

Of course, <=maxplayers , cheers.

Been spinning around too long with the code, was going "blind".
I can safely change engine->IndexOfEdict to i instead then as I actually use i to get the edict...
Forum: Coding MM:S Plugins & SM Extensions 08-06-2007, 08:26
Replies: 2
Views: 1,531
Posted By 3jorn
Index of entity

In this code;

for( int i=1; i<maxplayers; i++)
{
bool bNeedsCorrigation = false;

edict_t *pEntity = engine->PEntityOfEntIndex( i );
if (...
Forum: Coding MM:S Plugins & SM Extensions 07-23-2007, 00:06
Replies: 14
Views: 4,828
Posted By 3jorn
Re: GetDllMemInfo() Failed

Not entirely sure, I do this

bool SigScan::GetDllMemInfo(void) {
//void *pAddr = (void*)sigscan_dllfunc;
void *pAddr = &serverdll;

This then gives me the address where serverdll is...
Forum: Coding MM:S Plugins & SM Extensions 07-22-2007, 16:56
Replies: 7
Views: 2,129
Posted By 3jorn
Re: help on search and edit [simple i think]

Sorry, I'm more accustomed to PHP programming than C++, but after doing quick research on explode for CSS I see many recommending looking at tokens instead.

Good call mooman2 :wink:
Forum: Coding MM:S Plugins & SM Extensions 07-22-2007, 16:54
Replies: 14
Views: 4,828
Posted By 3jorn
Re: GetDllMemInfo() Failed

Yeah, I double checked with the Wiki-list.
Forum: Coding MM:S Plugins & SM Extensions 07-22-2007, 11:44
Replies: 7
Views: 2,129
Posted By 3jorn
Re: help on search and edit [simple i think]

Try this: http://www.gammon.com.au/forum/?id=5587

I'm afraid I don't have time the next couple of days to cook up an example, but use google and reuse already written code ;)
Forum: Coding MM:S Plugins & SM Extensions 07-22-2007, 09:12
Replies: 7
Views: 2,129
Posted By 3jorn
Re: help on search and edit [simple i think]

Try exploding the string by "/" (slashes) and take the last index in your array. That will be your filename
Forum: Coding MM:S Plugins & SM Extensions 07-21-2007, 04:13
Replies: 14
Views: 4,828
Posted By 3jorn
Re: GetDllMemInfo() Failed

Update. I've added

extern IVEngineServer *engine;
extern IServerGameDLL *serverdll;To my sigscan.cpp and changed

bool SigScan::GetDllMemInfo(void) {
//void *pAddr =...
Forum: Coding MM:S Plugins & SM Extensions 07-20-2007, 11:51
Replies: 14
Views: 4,828
Posted By 3jorn
GetDllMemInfo() Failed

I'm trying to use the SigScan presented on AlliedMods, but it didn't work.
I've debugged it down to

GetDllMemInfo() FailedI'm compiling a pure server plugin on Linux.

void...
Forum: Coding MM:S Plugins & SM Extensions 07-20-2007, 04:55
Replies: 2
Views: 1,364
Posted By 3jorn
Source Control

I don't know how you guys maintain your code, but I like to use revision control.
Personally I use SubVersion, hosted on my secondary computer. As I travel a bit at work, I would like to have my...
Forum: Coding MM:S Plugins & SM Extensions 07-20-2007, 02:12
Replies: 4
Views: 3,614
Posted By 3jorn
Re: another undefined symbol! help

When you get undefined symbols, go to srcds folder and type

nm --print-file-name bin/*so | grep Rep_20

Replace Rep_20 by recognizable characters in your undefined symbol.
This will search...
Forum: Coding MM:S Plugins & SM Extensions 07-19-2007, 17:18
Replies: 4
Views: 3,614
Posted By 3jorn
Re: another undefined symbol! help

try adding steamclient_i486.so to your makefile
Forum: Coding MM:S Plugins & SM Extensions 07-19-2007, 05:15
Replies: 15
Views: 7,028
Posted By 3jorn
Re: [REQUEST] Using SayText2

dammit i'm trapped in a never ending loop :mrgreen:
Forum: Coding MM:S Plugins & SM Extensions 07-19-2007, 05:11
Replies: 8
Views: 35,942
Posted By 3jorn
Re: HL2 Coding resources

that would be a better way of putting it :oops:

^^ as he said
Forum: Coding MM:S Plugins & SM Extensions 07-18-2007, 03:56
Replies: 8
Views: 35,942
Posted By 3jorn
Re: HL2 Coding resources

Valve-ERC is now replaced with http://forums.steampowered.com/forums/forumdisplay.php?f=191 for HL2
Forum: Coding MM:S Plugins & SM Extensions 07-17-2007, 07:32
Replies: 8
Views: 35,942
Posted By 3jorn
Re: HL2 Coding resources

hl2coding.com is down :cry:
Showing results 1 to 22 of 22

 
Forum Jump

All times are GMT -4. The time now is 03:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode