Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 34
Search took 0.01 seconds.
Search: Posts Made By: phantom96
Forum: Metamod:Source Plugins 03-09-2014, 12:26
Replies: 323
Views: 247,559
Posted By phantom96
Re: Dota 2 Fixups

I'm sorry, but does it means that linux now have d2 server files?
Forum: Scripting 12-24-2013, 20:58
Replies: 5
Views: 2,043
Posted By phantom96
Re: [Dota 2] Auto assign hero

CDOTAPlayer (type DT_DOTAPlayer) (count = 25) --> m_hAssignedHero +0x00001388 (integer 21 bits)
You tried this?
Forum: Scripting 11-22-2013, 10:13
Replies: 8
Views: 2,323
Posted By phantom96
Re: [DOTA] Get player items

Hmm... I tried this for first item, without checking all... Thanks.
Forum: Scripting 11-21-2013, 09:15
Replies: 8
Views: 2,323
Posted By phantom96
Forum: Scripting 11-21-2013, 09:09
Replies: 8
Views: 2,323
Posted By phantom96
Re: [DOTA] Get player items

I want to get all player items(6).
Forum: Scripting 11-21-2013, 08:32
Replies: 8
Views: 2,323
Posted By phantom96
Re: [DOTA] Get player items

No one knows how to get items? ;(
Thats it?

Please, help me get DT_DOTA_UnitInventory.
new itemsPack = GetEntPropEnt(heroid, Prop_Send, "dota_unitinventory");
This dont work ;(
Forum: Scripting 11-19-2013, 19:59
Replies: 5
Views: 1,701
Posted By phantom96
Re: [DOTA]Get game time

I try this:
new gamerules = FindEntityByClassname(-1, "dota_gamerules")
PrintToServer("%i", gamerules);
new Float:time = GetEntPropFloat(gamerules, Prop_Send, "m_fGameTime");...
Forum: Scripting 11-19-2013, 19:25
Replies: 5
Views: 1,701
Posted By phantom96
Forum: Scripting 11-19-2013, 13:58
Replies: 5
Views: 1,701
Posted By phantom96
[DOTA]Get game time

Hmm. Can anyone say how in sourcemod get game time? Or where in netprops match duration?(
Forum: Scripting 11-18-2013, 14:15
Replies: 8
Views: 2,323
Posted By phantom96
Re: [DOTA] Get player items

Hmm... When players connecting to dedicated server, their names addings to table in middle of screen. When players connecting to server in steam, table already contains all players and just change...
Forum: Scripting 11-18-2013, 12:21
Replies: 10
Views: 2,499
Posted By phantom96
Re: FakeClientCommand - Possible ?

Sometimes Dota 2 client closing when server using FakeClientCommand("exit") @_@
Forum: Scripting 11-18-2013, 12:15
Replies: 8
Views: 2,323
Posted By phantom96
[DOTA] Get player items

And... again =( I can't find in netprops player items array or link to player backpack. Maybe I miss something?((
And 2-nd question. Sorry for so non-scripting question in this forum, but what it...
Forum: Scripting 11-17-2013, 08:12
Replies: 9
Views: 2,057
Posted By phantom96
Re: TOP 10

If you getting scores from DB you can select by descending.
Forum: Scripting 11-09-2013, 09:42
Replies: 6
Views: 1,891
Posted By phantom96
Re: [DOTA] Big cry for help

Oops ;) Thanks. Now I'm thinking about tracking stats of players who leave early... I think I can have one another array with dotaindex-forumidindex values...
Forum: Scripting 11-07-2013, 08:36
Replies: 6
Views: 1,891
Posted By phantom96
Re: [DOTA] Big cry for help

I'm trying to save stats after match.


In dota players have numbers from 0 to 9, in server clients numbers from 1 to 10.

P.S. now i have matches with fully writed statistics...
Forum: Scripting 11-02-2013, 12:47
Replies: 6
Views: 1,891
Posted By phantom96
[DOTA] Big cry for help

Now I'm in deadlock. After week of torments i have this code:
public Action:GameEnd(Handle:event, String:name[], bool:dontBroadcast)
{
resource = GetPlayerResourceEntity();
new WinTeam =...
Forum: Scripting 11-01-2013, 11:48
Replies: 9
Views: 1,795
Posted By phantom96
Re: [DOTA] DataMap or not DataMap?

P.S. DotaIDs starting from 0.
Forum: Scripting 11-01-2013, 11:36
Replies: 9
Views: 1,795
Posted By phantom96
Re: [DOTA] DataMap or not DataMap?

When clients connetcing i'm puttings their Clientid's to array. After this i'm using Powerlord's code and assists/name dont match.
Forum: Scripting 11-01-2013, 10:48
Replies: 9
Views: 1,795
Posted By phantom96
Re: [DOTA] DataMap or not DataMap?

Thanks, it works. Little problem with it. Client id in server and resources don't match. I'm set ClientID = ClientID - 1, now testing.
Forum: Scripting 11-01-2013, 07:40
Replies: 9
Views: 1,795
Posted By phantom96
Re: [DOTA] DataMap or not DataMap?

new m_Offset2 = FindSendPropOffs("CDOTA_PlayerResource", "m_iAssists")
PrintToServer("offset2: %i", m_Offset2);
new entvalue = GetEntData(ClientID, m_Offset2, 4);
PrintToServer("m_offset =...
Forum: Scripting 11-01-2013, 07:24
Replies: 9
Views: 1,795
Posted By phantom96
[DOTA] DataMap or not DataMap?

I want get assists from

But for netprops and datamap i cant get offset of PlayerResource(return -1). Sorry for another stupid question ;(
Forum: Scripting 11-01-2013, 05:36
Replies: 2
Views: 936
Posted By phantom96
Re: [DOTA] Get player hero

Thanks.
Work code:
new iHero = GetEntPropEnt(client, Prop_Send, "m_hAssignedHero");
Forum: Scripting 10-31-2013, 01:01
Replies: 2
Views: 936
Posted By phantom96
[DOTA] Get player hero

Sorry for stupid questions... I cant get player hero.
Forum: Scripting 10-28-2013, 05:32
Replies: 2
Views: 1,129
Posted By phantom96
Re: [DOTA] Get combatlog string tables

Thanks. This table contains heroes or creep names. Maybe dota have dictionaries with classification?
And if it hero, simpliest way to get his team check players heroes?
Sorry for bad english.
Forum: Scripting 10-27-2013, 23:30
Replies: 2
Views: 1,129
Posted By phantom96
[DOTA] Get combatlog string tables

When hero attacks somethins or something attacks hero server fires event:
"dota_combatlog" // shot of a single entity
{
"type" "byte"
"sourcename" "short"
"targetname" "short"...
Showing results 1 to 25 of 34

 
Forum Jump

All times are GMT -4. The time now is 22:41.


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