That thread is over 5 years old, SetEntProp has had an array index parameter for over a year now. And yes, you're likely to get better help over on AlliedModders.
On Mon, Apr 29, 2013 at 8:01 PM, pilger <[email protected]> wrote: > Lack of knowledge, mainly. I never quite got how these Ents and Props > functions work. Maybe this is the time to dig more into it. > > Guess something like > > SetEntProp(GetPlayerWeaponSlot(p, i), Prop_Send, "m_iClip1", 200); >> SetEntData(p, ammoOffset + (i * 4), 200); <- This has to remain this way >> since it's a data table ( >> https://forums.alliedmods.net/showthread.php?t=82876&highlight=SetEntProp+m_iAmmo >> ) >> > > Should work better. And it does on ther good and old hldsupdatetool server, > but it still crashes the SteamPipe one. > > Not quite sure people are interested in "Sourcemod making the SteamPipe > server crash" subject. Maybe I should move to AlliedModders to avoid > another surge of hate and spam. > > > _pilger > > > On 29 April 2013 15:32, Necavi <[email protected]> wrote: > >> I was wondering the same thing myself, SetEntProp has been around >> for...years now. >> >> -----Original Message----- >> From: [email protected] [mailto: >> [email protected]] On Behalf Of Kyle Sanderson >> Sent: Monday, April 29, 2013 11:23 >> To: Half-Life dedicated Linux server mailing list >> Subject: Re: [hlds_linux] [hlds_announce] Mandatory update released for >> TF2 SteamPipe beta; now interoperable with regular game >> >> Is there any specific reason why you can't use something safer like >> SetEntProp? >> >> Thanks, >> Kyle. >> On 29 Apr 2013 11:18, "pilger" <[email protected]> wrote: >> >> > Ah, still no luck. >> > >> > Getting a crash when the plugins do stuff like this: >> > >> > SetEntData(GetPlayerWeaponSlot(p, i), clipOffset, 200); >> > > SetEntData(p, ammoOffset + (i * 4), 200); >> > > >> > >> > _pilger >> > >> > >> > On 29 April 2013 15:01, Ondřej Hošek <[email protected]> wrote: >> > >> > > On Mon, Apr 29, 2013 at 7:22 PM, pilger <[email protected]> wrote: >> > > > By the looks >> > > > (http://forums.alliedmods.net/showthread.php?t=213838) >> > > we'll >> > > > have to wait for the official update to get it all working right. >> > > > Or >> > have >> > > > you managed to get it to work!? >> > > >> > > That thread is specifically about TF2Items. Since it seems to be a >> > > rather popular plugin, I have also generated new game data for it >> > > [1], but I've heard that it doesn't solve the issues for all people, >> > > so try it at your own risk. >> > > >> > > Also, I'm not intimately familiar with the landscape of non-bundled >> > > gamedata-requiring SourceMod plugins, so please, if you find out >> > > that a widely-used plugin needs new game data, bug me on the issue >> tracker. >> > > [2] >> > > >> > > [1] >> > > >> > https://github.com/RavuAlHemio/sourcemod-beta-gamedata/blob/master/tf2 >> > /tf2items-steampipe-beta.txt >> > > >> > > [2] https://github.com/RavuAlHemio/sourcemod-beta-gamedata/issues >> > > >> > > Cheers, >> > > ~~ Ondra / Ravu al Hemio >> > > >> > > _______________________________________________ >> > > To unsubscribe, edit your list preferences, or view the list >> > > archives, please visit: >> > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >> > > >> > _______________________________________________ >> > To unsubscribe, edit your list preferences, or view the list archives, >> > please visit: >> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >> > >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >> > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

