Author Topic: CommandCrate (Re named from CommandBox)  (Read 8460 times)

0 Members and 2 Guests are viewing this topic.

Diss

  • Guest
Re: CommandBox
« Reply #20 on: October 30, 2007, 02:12:14 pm »
Hurray :P

Offline Hunter91

  • Major(1)
  • Posts: 5
Re: CommandCrate (Re named from CommandBox)
« Reply #21 on: October 31, 2007, 08:46:16 am »
When i say /force 1 5  7 0 then server kick me BE ;/ and when i say /active 1 5 true nothing is Power i must On All Gun for Active and unactive ? How i can use this 2 commands ?

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: CommandCrate (Re named from CommandBox)
« Reply #22 on: October 31, 2007, 08:49:04 am »
When i say /force 1 5  7 0 then server kick me BE ;/ and when i say /active 1 5 true nothing is Power i must On All Gun for Active and unactive ? How i can use this 2 commands ?
It's not a BE kick, it's the built in anti-cheat system in the server. If you want to use certain weapons you need to disable it in soldat.ini.

Offline Hunter91

  • Major(1)
  • Posts: 5
Re: CommandCrate (Re named from CommandBox)
« Reply #23 on: October 31, 2007, 09:36:57 am »
Say me where is this on the Soldat.ini files and this /active (num) , (gun) true i say and this is not work why ?? And Kills too. I must power Gun in Soldat.ini or something ? :(

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: CommandCrate (Re named from CommandBox)
« Reply #24 on: October 31, 2007, 12:52:53 pm »
/active num num true/false (second num is gun number, 0=socom 1=deagles 2=hk 3=ak 4=steyr 5=spas 6=ruger 7=m79 8=barret 9=minimi 10=minigun 11=knife 12=saw 13=law I think)

/active 2 1 false would disable Deagles for player 2

for force, you could make sure you is admin (not just joining 172.0.0.1 and trying commands) /adminlog *password*
then you cant be kicked >:)

Date Posted: October 31, 2007, 01:43:15 pm
oh and every parameter in each command is seperated by only one space (nothing confusing just "/command blah meep wutever")
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline Hunter91

  • Major(1)
  • Posts: 5
Re: CommandCrate (Re named from CommandBox)
« Reply #25 on: October 31, 2007, 01:34:39 pm »
Hm.. but in Soldat.ini change something ? Then : /active (1 - player num) ? (3 - gun ak) true or false ok , /force num gun gun ammo ok i later check this thx  :D

Diss

  • Guest
Re: CommandCrate (Re named from CommandBox)
« Reply #26 on: October 31, 2007, 03:13:04 pm »
Only thing you would need to change to make weapons active/disabled in soldat.ini is this:
Code: [Select]
Weapon_1=1
Weapon_2=1
Weapon_3=1
Weapon_4=1
Weapon_5=1
Weapon_6=1
Weapon_7=1
Weapon_8=1
Weapon_9=1
Weapon_10=1
Weapon_11=1
Weapon_12=1
Weapon_13=1
Weapon_14=1
*Set for 1 active, and 0 for disable.*
Kav posted the numbers of the weapons for these.

@Kav
If you join your server as 127.0.0.1, then you are already an admin that is logged in. There i no need for the /adminlog [password]
Also, rofl at "/command blah meep wutever

Offline Hunter91

  • Major(1)
  • Posts: 5
Re: CommandCrate (Re named from CommandBox)
« Reply #27 on: November 01, 2007, 05:03:18 am »
But i have Climb Server i am admin and i want when enter on server can be use this commands /force and /active for my only. When enter player he don't see toggle of weapon and don't can take weapon. Only i hm.. but i don't now how make this. Sorry for my Englisch i learn it , im Polisch ;P

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: CommandCrate (Re named from CommandBox)
« Reply #28 on: November 01, 2007, 12:42:38 pm »
if it is climb server then you have to enable the weapon (/active # # true)

if you want to give weapon temporarily, do /force, then when person dies, they will lose weapon

(/force [primary] [secondary] [ammo])

but don't say you gave them weapon :P they will get annoying: "Give me weapon", "weapon please", "weapon gimme!!", "I wanna be admin", "give me weapon now" all from same person D:
then if you don't give them stuff or let them be admin, they'll try to use your name to use admin powers :(
then they'll give up (hopefully)
But they might not :(
« Last Edit: November 01, 2007, 12:48:08 pm by Kavukamari »
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline Hunter91

  • Major(1)
  • Posts: 5
Re: CommandCrate (Re named from CommandBox)
« Reply #29 on: November 01, 2007, 12:59:47 pm »
I have two questions else :P. First if i want give somebody gun then obtain this but if i want give Flamer or Bow or Mode Flam guys get Ban. Next when i say command /spawn 3 - ak 1 - my num 0 and 0 then weapon appears on center of map but if i say /mega spawn 3 - ak 0 and 0 then all get weapon. Weapon is not on the middle only when i say /spawn for me :(  Sorry for Englisch ;P

Diss

  • Guest
Re: CommandCrate (Re named from CommandBox)
« Reply #30 on: November 01, 2007, 02:31:38 pm »
I have two questions else :P. First if i want give somebody gun then obtain this but if i want give Flamer or Bow or Mode Flam guys get Ban. Next when i say command /spawn 3 - ak 1 - my num 0 and 0 then weapon appears on center of map but if i say /mega spawn 3 - ak 0 and 0 then all get weapon. Weapon is not on the middle only when i say /spawn for me :( Sorry for Englisch ;P


On your 1st question...I had no idea what you said there.
On your 2nd question, Kav said it is fixed if I read correctly.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: CommandCrate (Re named from CommandBox)
« Reply #31 on: November 01, 2007, 02:47:52 pm »
Hunter91: Englisch -> English*

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: CommandCrate (Re named from CommandBox)
« Reply #32 on: November 01, 2007, 02:58:31 pm »
I have two questions else :P. First if i want give somebody gun then obtain this but if i want give Flamer or Bow or Mode Flam guys get Ban. Next when i say command /spawn 3 - ak 1 - my num 0 and 0 then weapon appears on center of map but if i say /mega spawn 3 - ak 0 and 0 then all get weapon. Weapon is not on the middle only when i say /spawn for me :(  Sorry for Englisch ;P


ak would be /spawn *player* 3 0 0 not /spawn *player* ak 0 0 (you play too much fistbox :P )

that's why I posted the weapon numbers (and you can't spawn more than one weap for one person with one command, just repeat command for multiples)
« Last Edit: November 01, 2007, 03:00:30 pm by Kavukamari »
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline corl45

  • Major
  • *
  • Posts: 51
  • PWNED!
    • www.freewebs.com/tylersmod
Re: CommandCrate (Re named from CommandBox)
« Reply #33 on: December 05, 2007, 06:39:47 pm »
when i run this script on my server i get an error in the console:


invalid float
BE AWESOME!

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: CommandCrate (Re named from CommandBox)
« Reply #34 on: December 05, 2007, 07:03:12 pm »
please post the full error
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline corl45

  • Major
  • *
  • Posts: 51
  • PWNED!
    • www.freewebs.com/tylersmod
Re: CommandCrate (Re named from CommandBox)
« Reply #35 on: December 05, 2007, 11:34:24 pm »
that was full error, it says "Command box -> invalid float"
i fixed it, just took a little bit of editing (im not a noob, just havent been with soldat forums for very long)
BE AWESOME!

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: CommandCrate (Re named from CommandBox)
« Reply #36 on: December 06, 2007, 11:32:05 am »
what did you have to change? maybe I have already fixed it in the version on my comp (I'm not sure if it is a diff. ver, but it works on my comp)
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline corl45

  • Major
  • *
  • Posts: 51
  • PWNED!
    • www.freewebs.com/tylersmod
Re: CommandCrate (Re named from CommandBox)
« Reply #37 on: December 06, 2007, 05:16:48 pm »
well, i think it is just somthing I did, i was editing it before to see some functions and commands (im in the process of making a spawn script) and i think i added a variable to a function when i was editing it(just to mess around with functions and see what each part dose) cuz i had the zip file, and i un-ziped it again, and it work just fine.
BE AWESOME!

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: CommandCrate (Re named from CommandBox)
« Reply #38 on: December 06, 2007, 07:31:04 pm »
do you think I should rewrite the script using the Case statement?
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: CommandCrate (Re named from CommandBox)
« Reply #39 on: December 06, 2007, 08:30:43 pm »
do you think I should rewrite the script using the Case statement?

for conventions sake, yes, it looks better and its easier to fix.