Raised This Month: $ Target: $400
 0% 

[resolved] Works on Windows, not on Linux


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
stupok
Veteran Member
Join Date: Feb 2006
Old 04-21-2007 , 23:55   [resolved] Works on Windows, not on Linux
Reply With Quote #1

According to this post, my In-Game Advertisement System doesn't work on Linux. I don't have any Linux machines to test on and I don't know what the problem may be. After reviewing the code, I'm not sure which part of it might be the problem. I thought the only thing that changes between operating systems is offsets.

I'd appreciate it if one of you guys using Linux could try the plugin in debug mode to see if anything comes up. If you know what to look for to make this compatible with Linux, I'd appreciate some help.

Here's the source: http://www.ampaste.net/8746

Last edited by stupok; 04-23-2007 at 19:38.
stupok is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 04-23-2007 , 15:31   Re: Works on Windows, not on Linux
Reply With Quote #2

Provide a sprite and config file for this plugin. Since you want other people to debug you need to include everything. I am not going out of my way to go find a sprite file that flat for an ad.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
stupok
Veteran Member
Join Date: Feb 2006
Old 04-23-2007 , 17:16   Re: Works on Windows, not on Linux
Reply With Quote #3

Sorry about that. You don't need any special sprites or models. Anything will do.

I just wanted to see if you could make this plugin run at all, because someone said:
Quote:
Originally Posted by djmd378 View Post
It's strange, when I use this plugin on my Windows server, it works perfectly fine. But when I use it on my Linux server, it doesn't work at all.
Here are the simple instructions:
Put the attached file in:
"C:\hlserver\cstrike\addons\amxmodx\configs\I n-Game Ads" or your equivalent.

Install the plugin.

Run server.

Bind a key to +place_ad and see if you can place and save the model.
Attached Files
File Type: cfg precache_list.cfg (27 Bytes, 141 views)

Last edited by stupok; 04-23-2007 at 17:25.
stupok is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 04-23-2007 , 18:05   Re: Works on Windows, not on Linux
Reply With Quote #4

Code:
models/player/gign/gign.mdl
origin 556.203857 3408.000000 -74.968750
angles 0.000000 0.000000 0.000000
It works fine for me. The only thing I suggest is that you put a message that says you don't have access to this command. Ie .. "+place_ad"
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
stupok
Veteran Member
Join Date: Feb 2006
Old 04-23-2007 , 19:37   Re: Works on Windows, not on Linux
Reply With Quote #5

Thanks for testing, and thanks for the suggestion.
stupok is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:44.


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