Garry's Mod

Garry's Mod

QCardWars - Card Game in GMod!
Tämä keskustelu on lukittu
MerekiDor  [kehittäjä] 14.1.2022 klo 10.23
Bug Reports & Suggestions
Report bugs here, and suggest new features for the addon. I don't take suggestions of units, though. You can make them yourself.

LOCKED
People keep reporting the same bugs every time due to not reading description. I don't think there are any new bugs in this version that I don't know about. If you came here to report a bug, there's a 99% chance that I already know about it and it's listed in "known issues" list. This thread will be unlocked when the new version comes out.

Thank you everyone who reported bugs thus far! I have listed the most helpful people in credits list of 1.1.
Viimeisin muokkaaja on MerekiDor; 10.3.2022 klo 3.54
< >
Näytetään 1-15 / 251 kommentista
Server crashes if you try to update too many cards stats at once.
MerekiDor  [kehittäjä] 14.1.2022 klo 12.16 
fixed
I can't edit anything of the bucket card, it keeps saying "denied"
Can you make it so that up to 4 players can play against each other instead of just 2? I understand if you can't implement it
Is there a way to bring back the original cards after deletion? like a total reset? cuz I'm stupid and I deleted all the original cards messing with the menu.
MerekiDor  [kehittäjä] 14.1.2022 klo 23.38 
Keroro lähetti viestin:
I can't edit anything of the bucket card, it keeps saying "denied"
I know. I should have mentioned that the bucket is a "fallback" unit, for example when theres an invalid unit it gets turned into a bucket. I'll mention it in Q&A.


Frisky1225 lähetti viestin:
Can you make it so that up to 4 players can play against each other instead of just 2? I understand if you can't implement it
Wish I could... But im not sure how that would work, and it would require rewriting the addon. Sorry.


Dink lähetti viestin:
Is there a way to bring back the original cards after deletion? like a total reset? cuz I'm stupid and I deleted all the original cards messing with the menu.
Ya im stupid and didnt make a way to restore them. Right now you can only restart the server but I'll try to add a way to restore cards
Custom units error when trying to heal other cards even though it was working earlier. Here is the error from console:
[QCardWars - Card Game in GMod!] lua/entities/ent_qcardwars.lua:791: attempt to index local 'exp' (a nil value)
1. qcwEval - lua/entities/ent_qcardwars.lua:791
2. func - lua/entities/ent_qcardwars.lua:1000
3. qcwDoSpecial - lua/entities/ent_qcardwars.lua:2314
4. f - lua/entities/ent_qcardwars.lua:351
5. qcwPressed - lua/entities/ent_qcardwars.lua:2705
6. fn - lua/entities/ent_qcardwars.lua:2771
7. unknown - lua/ulib/shared/hook.lua:109
MerekiDor  [kehittäjä] 15.1.2022 klo 8.38 
Maxxie lähetti viestin:
Custom units error when trying to heal other cards even though it was working earlier. Here is the error from console:
[QCardWars - Card Game in GMod!] lua/entities/ent_qcardwars.lua:791: attempt to index local 'exp' (a nil value)
1. qcwEval - lua/entities/ent_qcardwars.lua:791
2. func - lua/entities/ent_qcardwars.lua:1000
3. qcwDoSpecial - lua/entities/ent_qcardwars.lua:2314
4. f - lua/entities/ent_qcardwars.lua:351
5. qcwPressed - lua/entities/ent_qcardwars.lua:2705
6. fn - lua/entities/ent_qcardwars.lua:2771
7. unknown - lua/ulib/shared/hook.lua:109

That's strange. Can you tell me what the exact sequence of actions (with arguments) was? The expression might be invalid, it can cause errors. Also, if you can, describe the situation you were in, in as much detail as possible, that would help a lot.
Me and a friend had made custom groups and units for them we were having fun and i crashed (had saved a preset) I then loaded up again and it started erroring,
Was using the special ability mechanic here is what i had made:
Set HP !AID1 !AID1::hp+5
Set HP !AID2 !AID2::hp+5
Set HP !AID3 !AID3::hp+5
Set HP !AID4 !AID4::hp+5
Maxxie lähetti viestin:
Me and a friend had made custom groups and units for them we were having fun and i crashed (had saved a preset) I then loaded up again and it started erroring,
Was using the special ability mechanic here is what i had made:
Set HP !AID1 !AID1::hp+5
Set HP !AID2 !AID2::hp+5
Set HP !AID3 !AID3::hp+5
Set HP !AID4 !AID4::hp+5
before it stopped working it would heal all units placed in lanes and now it just heals and doesnt take any mana or end the turn
MerekiDor  [kehittäjä] 15.1.2022 klo 8.54 
Maxxie lähetti viestin:
Me and a friend had made custom groups and units for them we were having fun and i crashed (had saved a preset) I then loaded up again and it started erroring,
Was using the special ability mechanic here is what i had made:
Set HP !AID1 !AID1::hp+5
Set HP !AID2 !AID2::hp+5
Set HP !AID3 !AID3::hp+5
Set HP !AID4 !AID4::hp+5
Ah, I see, the problem here is that unit ID range is 0-3, not 1-4 as you have written. Sorry, its just the way it's scripted internally... Anyways, all you have to do is just change !AID4 to !AID0 because first unit is 0, second is 1, third is 2 and fourth is 3. I think I mentioned that in the tutorials.

Hope that'll help, have fun!
MerekiDor lähetti viestin:
Maxxie lähetti viestin:
Me and a friend had made custom groups and units for them we were having fun and i crashed (had saved a preset) I then loaded up again and it started erroring,
Was using the special ability mechanic here is what i had made:
Set HP !AID1 !AID1::hp+5
Set HP !AID2 !AID2::hp+5
Set HP !AID3 !AID3::hp+5
Set HP !AID4 !AID4::hp+5
Ah, I see, the problem here is that unit ID range is 0-3, not 1-4 as you have written. Sorry, its just the way it's scripted internally... Anyways, all you have to do is just change !AID4 to !AID0 because first unit is 0, second is 1, third is 2 and fourth is 3. I think I mentioned that in the tutorials.

Hope that'll help, have fun!
Ah I see thank you.
When I add custom cards from preset and start a game then these cards don't draw. I have to go to menu and interact with every single card in some way to make them show up.
Viimeisin muokkaaja on Colt Python; 15.1.2022 klo 9.45
If you make more than two new factions on a server it wont be able to go past the zombie faction
MerekiDor  [kehittäjä] 15.1.2022 klo 10.07 
White lähetti viestin:
When I add custom cards from preset and start a game then these cards don't draw. I have to go to menu and interact with every single card in some way to make them show up.
Don't draw as in what, on the table? Do they somehow lose their model?.. Can you give more details? I've never seen anything like that happen.



Shmoodus the friendly lähetti viestin:
If you make more than two new factions on a server it wont be able to go past the zombie faction
Strange. Let me test that and see for myself, thank you for reporting.
< >
Näytetään 1-15 / 251 kommentista
Sivua kohden: 1530 50