Raised This Month: $12 Target: $400
 3% 

Hamsandwich Updating


Post New Thread Closed Thread   
 
Thread Tools Display Modes
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 03-05-2014 , 11:04   Re: Hamsandwich Updating
#261

Quote:
Originally Posted by Arkshine View Post
This doesn't seem to be virtual function, so no.
damn but thanks
__________________

Working on:
nothing
schmurgel1983 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-09-2014 , 12:46   Re: Hamsandwich Updating
#262

Alright. The update has been pushed in 1.8.3-dev (git3786+). You can grab it from dev builds page.

Let me know if you have trouble with it or questions.

I think I will let this thread open until 1.8.3 is officially released.
__________________

Last edited by Arkshine; 04-09-2014 at 12:47.
Arkshine is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 04-09-2014 , 15:57   Re: Hamsandwich Updating
#263

Glad to see that this is going to be finally official.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 04-09-2014 , 23:20   Re: Hamsandwich Updating
#264

Which one has been approved? Yours, or that with Ham_Item_GetItemInfo/SET_ITEM_INFO cause that functions works too
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2014 , 03:54   Re: Hamsandwich Updating
#265

Not sure to understand your question. Anyway, look at .inc.
__________________
Arkshine is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 04-10-2014 , 06:26   Re: Hamsandwich Updating
#266

Quote:
Originally Posted by Arkshine View Post
Alright. The update has been pushed in 1.8.3-dev (git3786+). You can grab it from dev builds page.

Let me know if you have trouble with it or questions.

I think I will let this thread open until 1.8.3 is officially released.
Sup bro, still no automatically RegisterHam for CSBot support?
PHP Code:
public OnSpawnPost(id)
{
    if(!
is_user_alive(id)) return;
    
    
log_amx("%s[%d] has spawned."is_user_bot(id) ? "BOT":"Human"id)

Code:
L 04/10/2014 - 18:22:08: [ab.amxx] Human[10] has spawned.
Would be better if you add that feature. See a modified hamsandwich src from https://forums.alliedmods.net/showthread.php?t=200109

Quote:
Originally Posted by NiHiLaNTh View Post
Which one has been approved? Yours, or that with Ham_Item_GetItemInfo/SET_ITEM_INFO cause that functions works too
Code:
/**
 * Gets a parameter on the fly of the current hook.
 * Use this on parameters that are iteminfo result handles.
 *
 * @param iteminfo_handle    Item info handle.
 * @param type                Item info type. See ItemInfo_ constants.
 */
native GetHamItemInfo(iteminfo_handle, ItemInfo:type, any:...);

/**
 * Sets a parameter on the fly of the current hook.
 * Use this on parameters that are iteminfo result handles.
 *
 * @param iteminfo_handle    Item info handle.
 * @param type                Item info type. See HamItemInfo_ constants.
 */
native SetHamItemInfo(iteminfo_handle, ItemInfo:type, any:...);
100% confirmed
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019

Last edited by yokomo; 04-10-2014 at 06:32.
yokomo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2014 , 06:47   Re: Hamsandwich Updating
#267

About bot without classname, not yet. I know about it, but the patch was already big so I wanted to add it later, and also because it needs to reviewed. Also, I'm not sure what is the best between adding a new native, or adding a new param to RegisterHam.

EDIT: Damn the tag should be HamItemInfo.

EDIT 2: Fixed in git3787.
__________________

Last edited by Arkshine; 04-10-2014 at 07:00.
Arkshine is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 04-10-2014 , 10:27   Re: Hamsandwich Updating
#268

better, adding new native, because adding new param, might break compability with older versions?
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2014 , 11:51   Re: Hamsandwich Updating
#269

Why it would break ? Param would be optional and disabled by default.
__________________
Arkshine is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 04-12-2014 , 13:40   Re: Hamsandwich Updating
#270

Just downloaded 3791 version, it seems that it doesn't have datapack.inc stated in amxmodx.inc line 26.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Closed Thread


Thread Tools
Display Modes

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 07:25.


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