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

New compile.bat


Post New Thread Reply   
 
Thread Tools Display Modes
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 07-22-2004 , 07:46  
Reply With Quote #11

Well one of the problems with more directories is that when you use dir /s /b (subdirectories + bare output), it will output something like c:\myfiles\... and not the filename. I would need to get the current directory and cat it with the filename through some debug.exe hacks to be able to compare it.
__________________
hello, i am pm
PM is offline
rex
Senior Member
Join Date: Mar 2004
Location: Australia
Old 07-22-2004 , 08:10  
Reply With Quote #12

okay so a bit harder than just changing *.cbtmi to check/*.cbtmi
anyway my work around seems to be working okay for me.
i'm like jtp10181 and JJkiller, have show hidded files turned on.
still great work PM lot better that the old compile.bat when you have to wait for all your plugins to be compiled when you only had like two or three that had changed.
__________________
Come and join us at Cricket Manager
http://boundary.cricketmanager.co.uk...t Manager Fans
rex is offline
Send a message via MSN to rex
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 07-22-2004 , 08:11  
Reply With Quote #13

Yes I think i will include your temp fix tonight.
Thanks!
__________________
hello, i am pm
PM is offline
rex
Senior Member
Join Date: Mar 2004
Location: Australia
Old 07-22-2004 , 08:56  
Reply With Quote #14

no worries mate, glad to help
__________________
Come and join us at Cricket Manager
http://boundary.cricketmanager.co.uk...t Manager Fans
rex is offline
Send a message via MSN to rex
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 07-22-2004 , 13:10  
Reply With Quote #15

Uploaded new version!
__________________
hello, i am pm
PM is offline
Abe
Member
Join Date: Jul 2004
Old 07-22-2004 , 15:22  
Reply With Quote #16

I got alot of errors, all i did was extract it to amxx/scripting then ran it but i get all these errors

Code:
C:\DOWNLO~1\Configs\addons\amxx\SCRIPT~1\script
The process cannot access the file because it is being used by another process.
The syntax of the command is incorrect.
AMX Mod X

by the AMX Mod X Development Team
originally developed by OLO

This file is part of AMX Mod X.

Error: The compiler 'sc' doesn't exist.
 You may specify an another compiler with the /C option.
 Run compile /h for details.
A duplicate file name exists, or the file
cannot be found.
File not found - cbtmi
Press any key to continue . . .
Please explain how to use it!
Abe is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 07-22-2004 , 15:29  
Reply With Quote #17

hmm
make sure you have it in the directory where sc.exe and the .sma files are.
This errors are weird though. What system do you use?
__________________
hello, i am pm
PM is offline
Abe
Member
Join Date: Jul 2004
Old 07-22-2004 , 15:32  
Reply With Quote #18

i got win xp pro and compile.bat, sc.exe and my .sma are all in the folder
Abe is offline
rex
Senior Member
Join Date: Mar 2004
Location: Australia
Old 07-22-2004 , 20:57  
Reply With Quote #19

simple little mistake PM.
you need
Code:
SET cb_compiler=sc.exe
not
Code:
SET cb_compiler=sc
change that it works like a charm, good job.
only other thing is there don't seem to be a report at the end.
it saids
Code:
compilation report: Press any key to continue...
(i can't find the any key. )
it not showing the report, maybe just a cls in the wrong place.
also there is a problem with
:: make sure cbnewest is clear
set %cbnewest%=
don't stop it working but gives an error
Code:
The syntax of the command is incorrect.
anyway keep up the great work mate
__________________
Come and join us at Cricket Manager
http://boundary.cricketmanager.co.uk...t Manager Fans
rex is offline
Send a message via MSN to rex
rex
Senior Member
Join Date: Mar 2004
Location: Australia
Old 07-22-2004 , 21:24  
Reply With Quote #20

it's okay i tested it some more and it only showes a report if something was compiled, very nice.
nothing compiled nothing to report
good job
__________________
Come and join us at Cricket Manager
http://boundary.cricketmanager.co.uk...t Manager Fans
rex is offline
Send a message via MSN to rex
Reply



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 20:23.


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