Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 09:16:05 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: taking requests over the break  (Read 810 times)
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« on: December 16, 2010, 01:22:42 AM »

suggest features and bug fixes here, ill have time over the break to work on them
Logged

DarkEnergy
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #1 on: December 16, 2010, 11:38:19 AM »

The ability to assign races automatically even when race limits are enabled would be awesome! More details in this thread: http://war3source.com/index.php?topic=523.0

Making the number of supported races in war3source.ini would also be nice. This could be done by somehow replacing the current #define MAXLEVELXPDEFINED 16 from constraints with a cvar that the user can edit.

These are the two major things I would like to see.
Logged

nvn
Full Member
***
Posts: 133


View Profile
« Reply #2 on: December 17, 2010, 07:59:16 AM »

A lot of spam coming from "tome" when ppl buying it.
So the idea is to allow buying more than one in same time.
For example "tome x5" - will buy 5 tomes in the same time.

I know that there is command_blocking function, but i don't want to block command such as war3menu, so new players should see what to write.

I think it's worth it.
Logged

Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 413


⠠⠵


View Profile
« Reply #3 on: December 17, 2010, 08:53:18 AM »

A awardExp native.

For example: awardEXP(client, 50, "getting a killing spree") would award client 50 exp for his current race and he would get a hint showing "You were awarded 50 exp for getting a killing spree". The third parameter by default is a empty string and if you don't pass anything the client will be awarded the exp silently.

Much more comfortable than the current War3_SetXP(client, War3_GetXP(client, War3_GetRace(client)) + 50);
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #4 on: December 22, 2010, 03:52:29 PM »

A lot of spam coming from "tome" when ppl buying it.
So the idea is to allow buying more than one in same time.
For example "tome x5" - will buy 5 tomes in the same time.

I know that there is command_blocking function, but i don't want to block command such as war3menu, so new players should see what to write.

I think it's worth it.
how would they know to use this feature?
Logged

DarkEnergy
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #5 on: December 22, 2010, 03:53:26 PM »

A awardExp native.

For example: awardEXP(client, 50, "getting a killing spree") would award client 50 exp for his current race and he would get a hint showing "You were awarded 50 exp for getting a killing spree". The third parameter by default is a empty string and if you don't pass anything the client will be awarded the exp silently.

Much more comfortable than the current War3_SetXP(client, War3_GetXP(client, War3_GetRace(client)) + 50);
how would translations be supported in such an implementation?
Logged

DarkEnergy
nvn
Full Member
***
Posts: 133


View Profile
« Reply #6 on: December 22, 2010, 05:25:17 PM »

A lot of spam coming from "tome" when ppl buying it.
So the idea is to allow buying more than one in same time.
For example "tome x5" - will buy 5 tomes in the same time.

I know that there is command_blocking function, but i don't want to block command such as war3menu, so new players should see what to write.

I think it's worth it.
how would they know to use this feature?

Itemsinfo or seeing how other players will use it.
Logged

Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 413


⠠⠵


View Profile
« Reply #7 on: December 23, 2010, 09:12:26 AM »

A awardExp native.

For example: awardEXP(client, 50, "getting a killing spree") would award client 50 exp for his current race and he would get a hint showing "You were awarded 50 exp for getting a killing spree". The third parameter by default is a empty string and if you don't pass anything the client will be awarded the exp silently.

Much more comfortable than the current War3_SetXP(client, War3_GetXP(client, War3_GetRace(client)) + 50);
how would translations be supported in such an implementation?

Then just leave the string part out.
Logged

iceman
Full Member
***
Posts: 162



View Profile
« Reply #8 on: December 23, 2010, 05:18:28 PM »

This may be asking to much but some way of restricting tf2 custom weapons on races. Just as an example Heavy Gloves Of Running gives you +30 speed.
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #9 on: December 23, 2010, 05:22:04 PM »

i dont know how to restrict a custom weapon, and how do i open this to race configuration?
Logged

DarkEnergy
iceman
Full Member
***
Posts: 162



View Profile
« Reply #10 on: December 23, 2010, 05:27:56 PM »

there a sm extension that will remove items i just don't  want to restrict from everyone.
Logged
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #11 on: December 24, 2010, 12:47:23 PM »

I would like to request a new native.

We have one that allows us to detect players in a view cone at a max of x distance.

How about a function that returns all players within a sphere of a location. This could be used for a race or for wards but is basically a simple way to find if another player is within said sphere.

Values could include

war3_getplayerinsphere(center_location:client or map cordinate, size: size of sphere)
returns clients within the sphere.
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #12 on: December 24, 2010, 01:27:15 PM »

returns an array? returns closes person? what about team?
Logged

DarkEnergy
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #13 on: December 24, 2010, 01:33:40 PM »

Should return an array. If you wanted there could be an option to return all, same team, or other team.

The basic idea is to make it so that there is just one simple powerful command that people can use to find players in a radius of a location for use with abilities, items and wards.
Logged

zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #14 on: December 26, 2010, 06:14:07 PM »

If there is an issue created by not knowing the needed array length you could force a player to define how many players they want it to return. It can then always return only that number of players in order of closest.
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #15 on: December 26, 2010, 06:48:03 PM »

but is a stock really necessary? it is still better to loop thru players manually since you have to check for immunity
Logged

DarkEnergy
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #16 on: December 27, 2010, 12:18:04 AM »

To check if they are immune to being detected within a radius of a point? The purpose of this stock is to simplify the implementation of items/abilities that need to detect people in a circular zone. It is very similar to War3_GetTargetInViewCone except that it detects in a radius instead. On that note there should possibly be an array version of War3_GetTargetInViewCone to return multiple targets at once. These stocks open up the ability to create cool new things while making the coding very simple and easy.
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #17 on: December 27, 2010, 11:19:03 PM »

cone always returns one target, if that target is immune, then so be it. the stock/native was made because trigonometric calculations are hard

getting people in a  sphere is easy loop

when you get the stock results, you will have to loop again, so its actually a performance loss, so im going to say you should loop through players yourself, alive, team,  immunity together, check for distance ,(in this order) is much logical and customizable


the stock is very easy, i could have written it in the same amount of time i used to write this post, but i want you to manually loop through players for simplicity , speed, and customization
Logged

DarkEnergy
qwerty
Jr. Member
**
Posts: 87


View Profile
« Reply #18 on: December 28, 2010, 12:11:02 AM »

but what about something that effects all players (or just players on a single team) within a certain radius (or cone of effect)

it sounds like that's what zero wants to be able to implement
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!