Raised This Month: $32 Target: $400
 8% 

Personal Gravity


Post New Thread Reply   
 
Thread Tools Display Modes
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 10-08-2019 , 14:34   Re: Personal Gravity
Reply With Quote #21

That's some commendable debugging! I appreciate the great work, but regrettably I'm getting this error when trying your 'TFC tested version'.

Code:
L 10/08/2019 - 18:29:04: Invalid CVAR pointer
L 10/08/2019 - 18:29:04: [AMXX] Displaying debug trace (plugin "GHW_Personal_Gravity.amxx")
L 10/08/2019 - 18:29:04: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/08/2019 - 18:29:04: [AMXX] [0] 177694.attach::SetGrav (line 173)
Seems to be the same error I got months back. Reverting back to the OP's plugin works but, of course, restores the issue of gravity changing only when respawning.

Am I supposed to use 1.9? (Still currently using 1.8.2)
__________________
Thanks,
Terrum.



Last edited by terrum; 10-08-2019 at 14:55.
terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-08-2019 , 16:50   Re: Personal Gravity
Reply With Quote #22

I tried both Amxx 1.8.2 and 1.9.0 on 2 mods. It looks like you have the versions mixed up or old one still running. Invalid CVAR pointer was resolved. Original code used "show_activity" for a pointer. That's invalid. It's "amx_show_activity". You can use whatever version you want.
__________________

Last edited by DJEarthQuake; 10-08-2019 at 17:12.
DJEarthQuake is offline
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 10-08-2019 , 17:13   Re: Personal Gravity
Reply With Quote #23

Quote:
Originally Posted by DJEarthQuake View Post
I tried both Amxx 1.8.2 and 1.9.0 on 2 mods. It looks like you have the versions mixed up or old one still running. Invalid Pointer was resolved. If you pasted the rest of the error from the console it would make more sense. It doesn't get logged. You can use whatever version you want.
I see. No idea unfortunately, I don't actually need the plugin anymore so diagnosing it is the least of my priorities right now. But I will believe that you fixed it and give you my thanks regardless

Maybe sometime soon I can test it again on a clean setup but as 1.9 is still a dev build I don't plan to update my production servers until then.
__________________
Thanks,
Terrum.


terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
Old 10-08-2019, 17:26
DJEarthQuake
This message has been deleted by DJEarthQuake.
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 10-12-2019 , 12:59   Re: Personal Gravity
Reply With Quote #24

Tested the latest plugin you uploaded a few posts up on a clean CS1.6 setup, shows 'Unknown Command' and doesn't apply gravity even after respawning. Although it shows the command without issues when just typing 'amx_gravityp' without any values.

Error that shows in console when command is written with values:
Code:
L 10/12/2019 - 16:57:50: Invalid CVAR pointer
L 10/12/2019 - 16:57:50: [AMXX] Displaying debug trace (plugin "GHW_Personal_Gravity.amxx")
L 10/12/2019 - 16:57:50: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/12/2019 - 16:57:50: [AMXX] [0] 177694.attach::SetGrav (line 173)
amxx version:
Code:
AMX Mod X 1.8.2 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Feb 14 2013, 00:55:09
Build ID: 1.8.2 61:2ae84f7c0a97
Core mode: JIT+ASM32
meta version:
Code:
Metamod v1.21p37 2013/05/30 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:16 EET (optimized)
__________________
Thanks,
Terrum.


terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
Old 10-12-2019, 14:42
DJEarthQuake
This message has been deleted by DJEarthQuake. Reason: Resolved
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 10-12-2019 , 15:30   Re: Personal Gravity
Reply With Quote #25

Using this on my clean CS1.6 installation shows the same error in server console.

Code:
L 10/12/2019 - 19:28:18: Invalid CVAR pointer
L 10/12/2019 - 19:28:18: [AMXX] Displaying debug trace (plugin "GHW_Personal_Gravity.amxx")
L 10/12/2019 - 19:28:18: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/12/2019 - 19:28:18: [AMXX] [0] 177686.attach::SetGrav (line 172)
And still shows 'Unknown Command' in client console.

I am ignoring the TFC one for now until we have fixed the CS1.6 one, or made the appropriate bug report to fix the core for TFC.
__________________
Thanks,
Terrum.


terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
Old 10-12-2019, 18:32
DJEarthQuake
This message has been deleted by DJEarthQuake.
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 10-12-2019 , 18:42   Re: Personal Gravity
Reply With Quote #26

That's an awful lot of text for something I can't really give two shits about.

I read through some of it and all I can see is that you are blaming me and or my server for the lack of a functioning plugin. Rest assured I am not 'trolling' or trying to waste your time, I already mentioned before that I am just trying to help you, and I said I was only working on CS1.6 for now so that we can get a functioning plugin before working on TFC.

But it is fine, if you do not want my help or if you do not trust me, that is down to you. I have better things to do with my time.
__________________
Thanks,
Terrum.


terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-12-2019 , 19:05   Re: Personal Gravity
Reply With Quote #27

If you read it very carefully maybe you will learn how to resolve this on your end. It is maddening but I am right. Junk stays in the memory on exit restarts as opposed to complete shutdown or kill. When I started a clean CS server with only this plugin I do not have this issue. Anybody else?
__________________
DJEarthQuake is offline
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 10-12-2019 , 19:18   Re: Personal Gravity
Reply With Quote #28

I don't really want to read your wall of broken English. As I said I've read parts of it and none of it mentions what you claim to be 'how to resolve it my end'.

I told you already I tried it on a clean CS1.6 server, you have all the information I can give, and if you don't believe me that is your problem - but I don't want to be told I'm a troll or a liar, it only makes me want to volunteer my help less and less.
__________________
Thanks,
Terrum.


terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-12-2019 , 19:37   Re: Personal Gravity
Reply With Quote #29

You are using some variation of OP code. If not change maps and retry command is all that is needed. I had to change maps once before.
__________________

Last edited by DJEarthQuake; 10-21-2019 at 15:33.
DJEarthQuake is offline
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 10-12-2019 , 19:40   Re: Personal Gravity
Reply With Quote #30

Yet for some reason you think I am purposefully wasting your time by using the 'wrong code' on purpose.

Sorry but I have zero interest in helping you right now. Perhaps when I have more time to try again, and when you have improved your attitude, I will come back to help.
__________________
Thanks,
Terrum.


terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
Old 10-13-2019, 00:36
DJEarthQuake
This message has been deleted by DJEarthQuake.
Old 10-18-2019, 22:22
DJEarthQuake
This message has been deleted by DJEarthQuake. Reason: nvm
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 15:38.


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