Raised This Month: $138 Target: $400
 34% 

Scripting Forum


Post New Thread Reply   
 
Thread Tools Display Modes
dalto
Veteran Member
Join Date: Jul 2007
Old 08-04-2007 , 12:09   Re: Scripting Forum
Reply With Quote #11

Quote:
Originally Posted by Peoples Army View Post
i wanted to get the sdk but its a tarbell file . what the hell is that and how do i open it ?????
It is in tar format commonly used in *nix environments.

Use 7-Zip to open it on Windows.

EDIT: Also, you don't need the SDK to write scripts. Everything you need is in the main distribution.
dalto is offline
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 08-04-2007 , 14:40   Re: Scripting Forum
Reply With Quote #12

yeah ill take a look thru my includes too see . thanks
Peoples Army is offline
frozenarmageddon
Junior Member
Join Date: Dec 2008
Location: Israel, Haifa, Hatizonut
Old 12-22-2008 , 20:54   Re: Scripting Forum
Reply With Quote #13

Quote:
Originally Posted by BAILOPAN View Post
Compiling Plugins
In Windows, open up a command prompt and use:
Code:
cd <sourcemod>\scripting
spcomp myplugin.sp
Maybe im just stupid... or just did something wrong [its hard to think clear at 3:47 AM] but it says:
Code:
'spcom' is not recognized as an internal or external command, operable program or batch file.
anyway to fix?
__________________

I can try to make a nice compiler and code editing program in java, as soon as I fugure out how to compile ._.
__________________
My website actualy contains more than you see.
frozenarmageddon is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 12-23-2008 , 04:48   Re: Scripting Forum
Reply With Quote #14

Quote:
Originally Posted by frozenarmageddon View Post
'spcom' is not recognized as an internal or external command, operable program or batch file.
Quote:
Originally Posted by BAILOPAN View Post
./spcomp myplugin.sp
Try spcomp like it says instead of spcom
naris is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 12-23-2008 , 04:50   Re: Scripting Forum
Reply With Quote #15

Quote:
Originally Posted by frozenarmageddon View Post
[its hard to think clear at 3:47 AM]
I think that's the problem -- I've been there

Last edited by naris; 12-23-2008 at 04:52. Reason: Doh! Hit quote instead of edit
naris is offline
frozenarmageddon
Junior Member
Join Date: Dec 2008
Location: Israel, Haifa, Hatizonut
Old 12-23-2008 , 05:52   Re: Scripting Forum
Reply With Quote #16

lol, I didn't see the "p" thanks for clearing it out for me

btw, anuther way to compile evrything [in your scripting folder, or where your "compile.exe\spcomp.exe" is] is just double clicking it and\or putting a shortcut of the compiler in an easly accessible place ^_^

My idea was of creating a batch file to compile from the desktop and then sending it to the game's addons\sourcemod folder because I am not aware of any kind of scripting tool that actualy uses the scripting folder as base ^_^ I may upload it or its content if I will actualy do it

[Didn't tried it yet because I wanted to actualy code first, so if im wrong just remove this part ]

Edit: SM mods\makers\creators\whatever, if you are plannig to make something like the "AMX Mod X Studio" for SM please tell me so I wont waste my time on a java app if eventualy there will be a nice big program [probebly even more stable and usefull than mine] that can replace mine
__________________
My website actualy contains more than you see.

Last edited by frozenarmageddon; 12-23-2008 at 05:54. Reason: Added a quick request.
frozenarmageddon is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Old 12-23-2008 , 07:09   Re: Scripting Forum
Reply With Quote #17

Pawn Studio? Uses the scripting folder as a base if you point it to spcomp.exe, puts plugins in the plugins folder.
__________________
DJ Tsunami is offline
frozenarmageddon
Junior Member
Join Date: Dec 2008
Location: Israel, Haifa, Hatizonut
Old 12-24-2008 , 09:31   Re: Scripting Forum
Reply With Quote #18

DJ Tsunami [DJ?!] thx alot for telling me about PawnStudio [even tho you just wrote its name], didn't even know of its existence, now I can finnaly script SourcePawn easly
__________________
My website actualy contains more than you see.
frozenarmageddon is offline
.:ViruS:.
Junior Member
Join Date: Jan 2010
Old 01-04-2010 , 06:59   Re: Scripting Forum
Reply With Quote #19

Quote:
Originally Posted by frozenarmageddon View Post
Maybe im just stupid... or just did something wrong [its hard to think clear at 3:47 AM] but it says:
Code:
'spcom' is not recognized as an internal or external command, operable program or batch file.
anyway to fix?
__________________
paste this in notepad.

@Echo off
color 0a
cd D:\Sourcemod\scripting
spcomp test.sp
pause

change the D:\Sourcemod\scripting to your location
and the test.sp as yourfilename.sp
save it as a .bat and open it. it will work
every time you got a difrent file right click the bat and select edit. then change the sp. line again
.:ViruS:. is offline
Ritsuka
Member
Join Date: Jan 2010
Old 02-28-2010 , 20:53   Re: Scripting Forum
Reply With Quote #20

I am getting a problem with it adding banns and locking them. It does not seem to keep the bans for much time at all. I am not sure what to add to it to fix it. I looked in the .sp and could not find anything wrong with it.
Ritsuka 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 03:40.


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