Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-25-2010, 10:40 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Level vars

requesting these for v6

level.noap
http://forums.graalonline.com/forums...03&postcount=1
level.

Ignores AP for healing/pking players and causes no AP losses

level.friendlyfire
http://forums.graalonline.com/forums...69&postcount=3

Allows attacking other players with your guild tag
Reply With Quote
  #2  
Old 07-25-2010, 11:53 AM
nullify nullify is offline
Registerd Abuser
nullify's Avatar
Join Date: May 2004
Location: The cheese state.
Posts: 851
nullify has a spectacular aura about
You said my name quite a bit in both of those posts, but yeah. Supported regardless.
Reply With Quote
  #3  
Old 07-25-2010, 12:48 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
If I was a scripter on a classic server, I'd rather have some kind of function which is called when the player is hurt that basically requests permission to hurt the player. The function would be called in some standardly-named weapon. If the function/weapon doesn't exist, it would default to this, which replicates default behavior:

PHP Code:
//#CLIENTSIDE
public function getAttackDamage(attackerdamageweapon) {
  if (
player.level.nopkzone) {
    return 
0;
  }
  
  if (
player.guild == attacker.guild && player.guild != "") {
    return 
0;
  }
  
  if (
player.ap == 100 && weapon == "sword") {
    return 
0;
  }
  
  return 
damage;

This would give you much greater flexibility and also allow you to change damages based on different types of hits. Something similar could be done for AP taking on death (serverside).
__________________
Reply With Quote
  #4  
Old 07-25-2010, 08:40 PM
Rufus Rufus is offline
Registered User
Join Date: Jun 2004
Location: United Kingdom
Posts: 4,698
Rufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud of
Yeah, we really could do with these.
__________________
Quote:
Originally Posted by Loriel View Post
Seriously, you have ****-all for content and you're not exactly pulling in new developer talent, angling for prestigious titles should be your last concern.
Reply With Quote
  #5  
Old 07-25-2010, 09:03 PM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
We need the ability to hook functions before default systems come into play.. That's what I want.
Reply With Quote
  #6  
Old 08-16-2010, 05:00 AM
dereklarue dereklarue is offline
PurplePeopleEater
Join Date: Aug 2007
Location: Mi
Posts: 32
dereklarue is on a distinguished road
Send a message via AIM to dereklarue Send a message via Yahoo to dereklarue
Disabling default functions such as the sword/hearts would be great.
Reply With Quote
Reply


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 +2. The time now is 11:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.