Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2008-12-06 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
December 06, 2008, 12:34:01 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Cant get the name of the victim, for my bomb ultimate  (Read 142 times)
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« on: November 16, 2008, 10:00:50 PM »

hi guys

my problem is that: I do get the victim name to be 0, but I'm out of ways to find the error, so I thought some of you could me?

here's the code:
(click to show/hide)

(click to show/hide)
Kind regards
Rasmus

EDIT: I get the name now, BUT however i need to use the ultimate twice to get the name :/ the first time it says 0 bombed you to the victim and you bombed secondary wep. enhancer to the attacker, after the first time, it uses the real names, but why dont it do it the first time then?

can you see why that would be the case?
« Last Edit: November 17, 2008, 08:16:59 PM by [H.F.M.]Rasmus{Chef} » Logged

Zawmbee
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 51



« Reply #1 on: November 17, 2008, 11:03:12 PM »

It may be easier to use wcs_targetid then anything else... because when it happens it gets everything.  It is as if the skills does not do it's coding until after one use of the ultimate.  targetid gets it the moment you use it.  May be annoying to recode, but it should work.
Logged
Pre-Dominance
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 179



WWW
killweiser187
predom
« Reply #2 on: November 18, 2008, 03:34:33 AM »

es_xset wcs_name 0
es_xset wcs_name1 0
Logged

Need helÞ?

Steam:killweiser187
Msn:[email protected]                       I don't
Xfire:predom                                        think that
Clan:?WwT? Wcs/Zm mod.                   They'll read
ClanWeb:wwt-clan.info                            the side
Zawmbee
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 51



« Reply #3 on: November 18, 2008, 03:37:02 AM »

Could've sworn I already saw him have the es_xset code already in there and preset to 0, guess I was imagining it .
Logged
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #4 on: November 18, 2008, 08:32:57 AM »

es_xset wcs_name 0
es_xset wcs_name1 0

here's the funny part you guys;)

that iøve already done in my es_wcs.txt, so it's by default set to 0 i've made that for wcs_name1, wcs_name2 and 3, so that's not the correct answer
Logged

Stinkyfax
Watchdogs
Level 7 Expert
*****
Offline Offline

Lithuania Lithuania

Posts: 1382



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #5 on: November 18, 2008, 09:15:27 AM »

How did u decide to get name with delay? ofc it shows 0
remove delayed commands where u obtain name because your block is executed and only then names are taken.
Logged

Zawmbee
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 51



« Reply #6 on: November 18, 2008, 02:40:15 PM »

Rasmus, just set the es_xset in the race and see if it works then.  Do not always think it will load up instantaneous.  It is probably needing to load the language the first time you use it, then get's the language the second time.  Otherwise if that doesn't work, the use the wcs_targetid.  May cause alot of changes in your code... sorry .
Code On!
Logged
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #7 on: November 18, 2008, 03:12:38 PM »

for some reason it seems to be working now, without me doing any changes.
Logged

Stinkyfax
Watchdogs
Level 7 Expert
*****
Offline Offline

Lithuania Lithuania

Posts: 1382



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #8 on: November 18, 2008, 03:59:16 PM »

there is no code which for some reason sometimes is not buggy sometimes is buggy. I wrote the reason in previous post.
Logged

[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #9 on: November 18, 2008, 04:18:06 PM »

ok, nevertheless it started working without me changing anything.
Logged

Stinkyfax
Watchdogs
Level 7 Expert
*****
Offline Offline

Lithuania Lithuania

Posts: 1382



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #10 on: November 18, 2008, 05:11:53 PM »

I can prove you that you're wrong. Theory > practic example.
Logged

[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #11 on: November 18, 2008, 10:16:57 PM »

Stinky, as much as i admire you, as much you can keep on with that im right your wrong thing you got going, i still know what happened
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
December 04, 2008, 09:57:56 PM
gg
December 04, 2008, 09:46:16 PM
hey guys, how are you?
gonna sleep, cya tomorrow
December 03, 2008, 12:45:48 PM
@ bombkill : all mods should be compatible with WCS... but we can't be sure
@retrokboy : css server? provider? other mods?
December 03, 2008, 01:49:25 AM
I NEED SERVER HELP MY FORUM IS IN BUG REPORT PLEASE REPLY I NEED HALP
December 02, 2008, 10:05:01 PM
does anyone know where all the wcs compatible mods are listed or a website i can find them
December 02, 2008, 08:24:47 PM
/agree
Recent
[Today at 09:15:37 AM]

[Today at 08:33:01 AM]

[Today at 12:26:04 AM]

[December 05, 2008, 10:26:03 PM]

[December 05, 2008, 08:10:32 PM]

[December 05, 2008, 07:51:01 PM]

[December 05, 2008, 07:33:12 PM]

[December 05, 2008, 07:11:25 PM]

[December 05, 2008, 06:44:09 PM]

[December 05, 2008, 12:14:07 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.101 seconds with 25 queries.