Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 39
Search took 0.01 seconds.
Search: Posts Made By: taansari
Forum: Coding MM:S Plugins & SM Extensions 09-11-2012, 06:11
Replies: 7
Views: 2,512
Posted By taansari
Re: How to retrieve server time

Hi ajr1234!

I could use that but request/response packet may be changed any time of their will, which can break plug-in's functionality...
Forum: Coding MM:S Plugins & SM Extensions 09-11-2012, 06:10
Replies: 7
Views: 2,512
Posted By taansari
Re: How to retrieve server time

Hi Powerlord!

I never knew about this variable before - many thanks for the insight, I'll investigate it now...
Forum: Coding MM:S Plugins & SM Extensions 09-06-2012, 00:30
Replies: 7
Views: 2,512
Posted By taansari
Re: How to retrieve server time

Thanks for the reply! Actually I'm already using this mechanism but it can easily be hacked.
Forum: Coding MM:S Plugins & SM Extensions 09-05-2012, 09:40
Replies: 7
Views: 2,512
Posted By taansari
Re: How to retrieve server time

Or, to quote it better - I want synced timing mechanism that works for all servers my plug-in is deployed in... I want a robust mechanism that works everywhere, and does not change behavior if server...
Forum: HL1 Servers (HLDS) 09-05-2012, 04:48
Replies: 4
Views: 1,333
Posted By taansari
Re: My plugin got broken with latest Ubuntu 12.04 LTS

new and delete keywords need to be replaced with malloc and free counterparts, and code patched accordingly

p.s. Sorry logged on after a long time
Forum: Coding MM:S Plugins & SM Extensions 09-05-2012, 03:24
Replies: 7
Views: 2,512
Posted By taansari
How to retrieve server time

Hi!

I'm trying to retrieve the exact time whenever a player connects with the server. I don't want local time of player, but the server time (btw both for metamod:p and metamod:source).

Does...
Forum: HL1 Servers (HLDS) 06-19-2012, 05:08
Replies: 4
Views: 1,333
Posted By taansari
Re: My plugin got broken with latest Ubuntu 12.04 LTS

I solved the problem - thanks for the moral support.
Forum: HL1 Servers (HLDS) 06-19-2012, 01:00
Replies: 4
Views: 1,333
Posted By taansari
My plugin got broken with latest Ubuntu 12.04 LTS

Hi all!

I made a plug-in few months ago using Ubuntu 11.10 32 bit OS. It was (and still is) working fine for me. However, I had to deploy this over to a newer server : Ubuntu 12.04 LTS 64 bit....
Forum: Coding MM:S Plugins & SM Extensions 03-06-2012, 01:52
Replies: 2
Views: 1,453
Posted By taansari
Re: "SayText" User message does not always work inside Fortress Forever

Many thanks for your prompt reply - your suggestion has nailed this problem down for good!

Kind regards!
Forum: Coding MM:S Plugins & SM Extensions 03-05-2012, 02:28
Replies: 2
Views: 1,453
Posted By taansari
"SayText" User message does not always work inside Fortress Forever

Hi!

I'm working on my plug-in, which is capable of sending messages from server to all the players connected with it (chat area type messages). I've made it work for HL2DM, TF, and also for...
Forum: Coding MM:S Plugins & SM Extensions 02-23-2012, 00:06
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

Overall, how you guys tried to debug made it 'click'!

Thanks!
Forum: Coding MM:S Plugins & SM Extensions 02-22-2012, 06:17
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

Hmm... don't think this could be the reason; my current settings say "Selected compiler: GNU GCC Compiler"
Forum: Coding MM:S Plugins & SM Extensions 02-22-2012, 05:32
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

Thanks for the tip. But what I'm trying to say here is: that is only part 2 of the problem. Part 1 (which took the most time), was bottom lined to using the 'make' command manually.

Thanks!
...
Forum: Coding MM:S Plugins & SM Extensions 02-22-2012, 04:42
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

@everyone

Thanks for all your guidance and help, I think I have spotted the cause of this error. In simple words: I shouldn't have used Code::blocks for anything more than compiling against syntax...
Forum: Coding MM:S Plugins & SM Extensions 02-22-2012, 01:23
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

@Old and Slow and PAL-18

Thanks for looking into this!

PAL-18, yes you're right. Sorry I forgot to mention this part. I downloaded FortressForever 2.44 mod from above link; then I copied this...
Forum: Coding MM:S Plugins & SM Extensions 02-21-2012, 07:59
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

Looking at 'loader' metamod source project:

Inside utility.cpp file, line number 280, there is a function:
mm_LoadLibrary(const char *path, char *buffer, size_t maxlength)It calls this function:...
Forum: Coding MM:S Plugins & SM Extensions 02-20-2012, 00:40
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

Thanks for your kind reply!

I've investigated: Code::blocks by default manages the make file on its own (inside the .cbp project file):...
Forum: Coding MM:S Plugins & SM Extensions 02-20-2012, 00:11
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

I got it from http://hg.alliedmods.net/hl2sdks/
Forum: Coding MM:S Plugins & SM Extensions 02-20-2012, 00:10
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

Thanks for the reply!

I believe I'm using the right thing. First I got 'steam' binaries (don't recall exact web site), and the command I used to get episode1 server was:

./steam -command update...
Forum: Coding MM:S Plugins & SM Extensions 02-15-2012, 04:02
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

Hi

Please let me post all code, details regarding the stub_mm plug-in which builds fine but is not loaded by Linux-Ep1 server.

.H file:

/**
* vim: set ts=4 sw=4 tw=99 noet :
*...
Forum: Coding MM:S Plugins & SM Extensions 02-14-2012, 02:35
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

Hi pimpinjuice

Total lib files present inside hlsdk folder are:

hl2sdk/linux_sdk/choreoobjects_i486.a
hl2sdk/linux_sdk/mathlib_i486.a
hl2sdk/linux_sdk/tier1_i486.a

And the .so files are:
Forum: Coding MM:S Plugins & SM Extensions 02-13-2012, 06:35
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

I tried manually loading the plug-in. Still it does not display any error message.

All I get is:

Failed to load plugin addons/stub/bin/stub_mm ([2]).

BTW I have moved from my plug-in to this...
Forum: Coding MM:S Plugins & SM Extensions 02-13-2012, 00:19
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

Thanks for the guidance pimpinjuice

I'll try the same and get back here with updates, hopefully.
Forum: Coding MM:S Plugins & SM Extensions 02-09-2012, 01:13
Replies: 27
Views: 5,507
Posted By taansari
Forum: Coding MM:S Plugins & SM Extensions 02-07-2012, 02:23
Replies: 27
Views: 5,507
Posted By taansari
Re: My episode1 plugin loads fine in Windows, but not in Linux

A bit of an update: I'm using Ubuntu 11.10 32bit with code::blocks for compiling my plugin.
Showing results 1 to 25 of 39

 
Forum Jump

All times are GMT -4. The time now is 13:30.


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