AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [resolved] Works on Windows, not on Linux (https://forums.alliedmods.net/showthread.php?t=54290)

stupok 04-21-2007 23:55

[resolved] Works on Windows, not on Linux
 
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

teame06 04-23-2007 15:31

Re: Works on Windows, not on Linux
 
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.

stupok 04-23-2007 17:16

Re: Works on Windows, not on Linux
 
1 Attachment(s)
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 (Post 467969)
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.

teame06 04-23-2007 18:05

Re: Works on Windows, not on Linux
 
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"

stupok 04-23-2007 19:37

Re: Works on Windows, not on Linux
 
Thanks for testing, and thanks for the suggestion.


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

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