July 18, 2018, 09:51:22 PM

Author Topic: Submit your bugs!  (Read 3256 times)

Offline Manifest

  • Race & effect creator
  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 1039
  • Country: dk
  • Content creator for the new WCS version by Kami.
Re: Submit your bugs!
« Reply #45 on: April 16, 2018, 08:18:34 AM »
I got a problem with the standart orc race 3.resurrection skill.
Everytime an Orc dies, he respawns 3 sek later, it doesent matter if the skill is lv 1 or maxed.
Also i noticed that the last skill up is set to 100 i reduced it to 35 like in the description, but it still respawns 100% of the times.

Hi there Ronnny, thank you very much for addressing this issue.

This issue happened as the races was tested and the chance variables were set to 100 in order to make the testing faster and easier. It would appear that when changing back the skills to the their actual values we did overlook a few.


It is recommendable for anyone to replace their races.ini with the current content of the standard racepack for the modification, which can be found here:
- https://github.com/ManifestManah/WCS_GO/blob/master/addons/source-python/plugins/wcs/races/races.ini


If anybody find any similar bugs, or in general any race or item related bugs, then please report them in, and I'll see to it that it will be fixed as fast as possible. :-)
« Last Edit: April 16, 2018, 08:20:31 AM by Manifest »
"BRAVORA: Bruh it is fucking operation crystal night when you are approving races."


Offline lphsqr

  • Level 0 Beginner
  • Posts: 18
  • Country: ru
  • 2011-2018.
    • PhutureWCS
Re: Submit your bugs!
« Reply #46 on: May 10, 2018, 07:53:52 PM »
bug 1
Code: [Select]
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/plugins/wcs/wcs.py", line 956, in get_skill_level
skills = wcsplayers[userid].all_races[race]['skills'].split('|')

KeyError: '2'
I changed the race, levelup, but when I swing skills there is no last skill at all, although in the skills menu it is equal to 0
upd: after 4 skills there are 2 more skills, they are not in the up menu(bug?)

bug 2

after restart, when you go to the server, you play for the race * Example *,
you have the skills of the race * Example *, but the chat displays information about the first race of Undead (only in the first round)

bug 3

playing with bots
Code: [Select]
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/plugins/wcs/commands.py", line 429, in _centertell
userid = int(command[1])

ValueError: invalid literal for int() with base 10: ''


Offline lphsqr

  • Level 0 Beginner
  • Posts: 18
  • Country: ru
  • 2011-2018.
    • PhutureWCS
Re: Submit your bugs!
« Reply #47 on: May 10, 2018, 07:56:09 PM »
Hello! (again :P)
I'm very lucky for bugs D:

On a clear wcs, I used the Flame Predator race, then left the server.
An hour later I reconnected to the server, my race was a Flame predator. When I changed the race to human and got 3-4 levels - spendskills menu did not appear. When I try to open it via wcsmenu - the same problem, spendskills menu did not appear.
"spendskills" in chat - the same problem.

Then I checked the console:
Code: [Select]
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/commands/auth.py", line 44, in __call__
return self.callback(*args)
File "../addons/source-python/packages/source-python/menus/queue.py", line 267, in _menuselect_callback
_radio_queues[index]._select(choice)
File "../addons/source-python/packages/source-python/menus/queue.py", line 126, in _select
next_menu = active_menu._select(self._index, choice)
File "../addons/source-python/packages/source-python/menus/radio.py", line 113, in _select
self._player_pages[player_index].options[choice_index])
File "../addons/source-python/packages/source-python/menus/base.py", line 122, in _select
return self.select_callback(self, player_index, choice_index)
File "../addons/source-python/plugins/wcs/wcsmenu.py", line 38, in _main_menu_select
spendskills.doCommand(userid)
File "../addons/source-python/plugins/wcs/spendskills.py", line 33, in doCommand
if int(skillneeded[number]) > wcs.wcs.wcsplayers[userid].all_races[race]['level']:
IndexError: list index out of range

(Sorry for any inaccuracies in translation. My English is so bad :D)


Same thing on the server. I had to remove the resetskills.

Offline lphsqr

  • Level 0 Beginner
  • Posts: 18
  • Country: ru
  • 2011-2018.
    • PhutureWCS
Re: Submit your bugs!
« Reply #48 on: May 15, 2018, 09:40:35 PM »
Code: [Select]
File "../addons/source-python/plugins/wcs/spendskills.py", line 33, in doCommand
if int(skillneeded[number]) > wcs.wcs.wcsplayers[userid].all_races[race]['level']:

IndexError: list index out of range

When I give a level to myself through the admin area and try to pump my skills

wcs_cancelulti - non-working command
wcs_setcoldown - non-working command

If you added a race, pumped it, deleted it, the player stayed on it
I deleted it, there was no reset for 1 race - I can not choose any race now
Code: [Select]
File "../addons/source-python/plugins/wcs/wcs.py", line 1438, in checkEvent
race1 = racedb.races[race]
File "../addons/source-python/packages/site-packages/configobj.py", line 554, in __getitem__
val = dict.__getitem__(self, key)

KeyError: 'Вагабонд'
« Last Edit: May 15, 2018, 09:53:19 PM by Rits »

Offline lphsqr

  • Level 0 Beginner
  • Posts: 18
  • Country: ru
  • 2011-2018.
    • PhutureWCS
Re: Submit your bugs!
« Reply #49 on: May 18, 2018, 01:15:21 PM »
Code: [Select]
L 05/18/2018 - 14:04:42: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 05/18/2018 - 14:04:42: [SM] Blaming: commands.smx
L 05/18/2018 - 14:04:42: [SM] Call stack trace:
L 05/18/2018 - 14:04:42: [SM] [0] SetConVarString
L 05/18/2018 - 14:04:42: [SM] [1] Line 1037, C:\Users\Stephan\Downloads\sourcemod-1.9.0-git6206-windows\addons\sourcemod\scripting\commands.sp::GetWall_Register

wcs_getwallbetween ?

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 851
  • Country: de
  • Pokemon Master!
Re: Submit your bugs!
« Reply #50 on: May 18, 2018, 06:01:43 PM »
Hmmm, the sourcemod commands are really old. I think over 5 years maybe. So there might be some problems with those on newer sourcemod versions. I will look into it :)

Offline lphsqr

  • Level 0 Beginner
  • Posts: 18
  • Country: ru
  • 2011-2018.
    • PhutureWCS
Re: Submit your bugs!
« Reply #51 on: May 26, 2018, 03:36:13 PM »
Code: [Select]
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/__init__.py", line 245, in run
run_old(*args, **kwargs)
File "../addons/source-python/Python3/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "../addons/source-python/plugins/wcs/wcs.py", line 435, in _save_player_to_database
race = session.query(Races).filter(Races.UserID==self.UserID,Races.name==race_).one_or_none()
File "../addons/source-python/packages/site-packages/sqlalchemy/orm/query.py", line 2698, in one_or_none
"Multiple rows were found for one_or_none()")

sqlalchemy.orm.exc.MultipleResultsFound: Multiple rows were found for one_or_none()

 wcs work, the races do not work.
When spawning does not write information at all that you have a race.

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 851
  • Country: de
  • Pokemon Master!
Re: Submit your bugs!
« Reply #52 on: May 26, 2018, 08:38:48 PM »
I think that Error means that there are two entries for the same race and the same player in your database. Not sure yet how that Happens though.

Offline lphsqr

  • Level 0 Beginner
  • Posts: 18
  • Country: ru
  • 2011-2018.
    • PhutureWCS
Re: Submit your bugs!
« Reply #53 on: May 27, 2018, 10:55:34 AM »
can mysql database correct this error?

Offline ErikZen

  • Level 1 Trained Beginner
  • *
  • Posts: 28
  • Country: dk
  • Do This - Do That - Do What?
Re: Submit your bugs!
« Reply #54 on: June 03, 2018, 01:35:13 AM »
SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/plugins/wcs/setfx.py", line 45, in _setfx_command
    userid = int(command[2])
 
ValueError: invalid literal for int() with base 10: ''
 
Getting this bug all the time.

And the respawn bug where it respawns 100% of the time still exists, even though the config is set to 0% chance. Same thing with blue mage and the phoenix ability.

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 851
  • Country: de
  • Pokemon Master!
Re: Submit your bugs!
« Reply #55 on: June 03, 2018, 02:02:31 AM »
The error message is nothing bad, it will not hurt the functionality.

For the respawn skill I think I know what the problem is!

Edit: The problem should now be fixed. Thank you for reporting
« Last Edit: June 03, 2018, 02:20:24 AM by Kami »

Offline ErikZen

  • Level 1 Trained Beginner
  • *
  • Posts: 28
  • Country: dk
  • Do This - Do That - Do What?
Re: Submit your bugs!
« Reply #56 on: June 03, 2018, 02:20:04 PM »
Thank you for investigating!
Fixed how? do i need to redownload anything or? Thanks. :)

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 851
  • Country: de
  • Pokemon Master!
Re: Submit your bugs!
« Reply #57 on: June 03, 2018, 02:21:31 PM »
Yes, you do need to redownload WCS from github. I cannot fix things on your server :P

Offline ErikZen

  • Level 1 Trained Beginner
  • *
  • Posts: 28
  • Country: dk
  • Do This - Do That - Do What?
Re: Submit your bugs!
« Reply #58 on: June 03, 2018, 02:23:43 PM »
Haha thanks, i'm quite new to the server/wcs things.
If you dont mind me asking, if i've added and modified races, will redownloading wcs remove that? if so, how do i save all i have now, and use the fix you came up with? :)

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 851
  • Country: de
  • Pokemon Master!
Re: Submit your bugs!
« Reply #59 on: June 03, 2018, 02:36:55 PM »
You just need to remove the races.ini from source-python/wcs/races/  from the files you download from github.

This way you can keep your own races.ini :)