Author Topic: wrong errors  (Read 1782 times)

em-eukal

  • Newbie
  • *
  • Posts: 40
    • View Profile
wrong errors
« on: September 15, 2011, 08:27:05 PM »
Code: [Select]
Fri Sep 16 02:16:25 2011 W3CVAR (internal)  "scout_flags" not found, please fix/clean up your config
Fri Sep 16 02:16:25 2011 W3CVAR (internal)  "orb_golcost" not found, please fix/clean up your config
Fri Sep 16 02:16:25 2011 W3CVAR (internal)  "crypt_minevel" not found, please fix/clean up your config
Just some typos in your code, but throwing some stupid errors...

scout_flags -> scout_o_flags
orb_golcost -> orb_goldcost
crypt_minevel -> crypt_minlevel

Edit: v1.2.2.9
« Last Edit: September 15, 2011, 08:29:27 PM by em-eukal »

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: wrong errors
« Reply #1 on: September 16, 2011, 03:36:33 AM »
how is this a bug?

em-eukal

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: wrong errors
« Reply #2 on: September 17, 2011, 07:45:25 AM »
Your plugin is telling me, that there are some cfg-entries missing.

Of course I won't add "orb_golcost" to my config, since it is already there "orb_goldcost"!

Your plugin is expecting misspelled cfg-entries.
This is no bug? oO


iceman

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: wrong errors
« Reply #3 on: September 17, 2011, 08:56:29 AM »
Those logs are telling you misspelled check your config

em-eukal

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: wrong errors
« Reply #4 on: September 17, 2011, 03:10:45 PM »
No, I DID NOT misspell anything ;)

The plugin is checking for misspelled cfg entries!

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: wrong errors
« Reply #5 on: September 18, 2011, 08:25:17 PM »
somewhere in your configs being executed have those misspelled cvars

em-eukal

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: wrong errors
« Reply #6 on: September 19, 2011, 04:40:31 AM »
lol, please read those error messages carefully ;)

Code: [Select]
"orb_golcost" not found, please fix/clean up your configYour plugin is checking for "orb_golcost". Of course your plugin won't find this entry in my config.
Because in my config there is the correct entry "orb_goldcost".

So again, you did some misspelling in your source code!

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: wrong errors
« Reply #7 on: September 19, 2011, 04:45:24 AM »
plugin checks for cvars executed in the console, orb_golcost is SOMEWHERE in SOME config being executed

em-eukal

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: wrong errors
« Reply #8 on: September 19, 2011, 08:01:18 AM »
Code: [Select]
war3 orb_goldcost 2
war3 orb_moneycost 2000
war3 orb_itemorder 700
war3 orb_itemflags ""
war3 orb_itemcatagory ""
...
war3 crypt_minlevel 0
war3 crypt_raceorder 800
war3 crypt_accessflag 0
war3 crypt_restrict_items ""
war3 crypt_flags ""
war3 crypt_team1_limit 7
war3 crypt_team2_limit 7
...
war3 scout_o_minlevel 0
war3 scout_o_raceorder 1800
war3 scout_o_accessflag 0
war3 scout_o_restrict_items ""
war3 scout_o_flags ""
war3 scout_o_team1_limit "7"
war3 scout_o_team2_limit "7"
There is no other config executed oO