Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-11-2008, 10:31 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
Quote:
Originally Posted by Skyld View Post
In this instance, loading things from text files is more CPU cycles and memory overhead than is required than directly accessing a flag would produce.
not really, no.
your loading a file as you are loading a flag, sure it'll take a little more CPU but not a substantial amount though.

Quote:
Originally Posted by Skyld View Post
How are they void? You are clearly not focusing enough here on performance.
please try to create a system that has alot of information in each flag
currently, my item system contains the following flags, make try make them into a flag with less than 255 chars.
HTML Code:
#The archetype name
realname=Fung Si Yan

#The file location
archetype=equipment/shields/

#The Display Name
displayname=Fung-Si-Yan Shield

#The Display Icon
itemimage=Shield-FungSiYan

#Item Description
itemdescription=Forged by the almight Stefan at birth!

#The Weight [kg]
weight=10

#The Value [Rupees]
value=5

#Can Be Traded
candrop=true

#base, agility, magic, mental, personality, physique, wisdom
reqlevels={0, 0, 0, 0, 0, 0, 0}

#strength, dexterity, vitality, intelligence, wisdom, power, charm 
reqstats={0, 0, 0, 0, 0, 0, 0}
basestats={3, 3, 3, 0, 0, 0, 0}

#Item Data [+Melee weapon functions]
itemname=+Shields
itemequip=true
itemganis=fungsiyan

#Can The Shield Break
canbreak=true
#Amount Of Hits Taken Then It Breaks
breakamount=750
Quote:
Because GK actually has a proper mudlib library available in the NPC-Server which means that script CPU cycles are not being used instead.
didn't know this, release to servers that want a mudlib to solve the CPU issue?
Reply With Quote
  #2  
Old 07-11-2008, 10:42 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by [email protected] View Post
not really, no.
your loading a file as you are loading a flag, sure it'll take a little more CPU but not a substantial amount though.
False
Quote:
Originally Posted by [email protected] View Post
didn't know this, release to servers that want a mudlib to solve the CPU issue?
He was implying it used exactly what he was saying everyone else should (flags and such)
__________________
Reply With Quote
  #3  
Old 07-11-2008, 10:44 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
Quote:
Originally Posted by Kristi View Post
False
prove it.

Quote:
He was implying it used exactly what he was saying everyone else should (flags and such)
don't get your reply at all, so why not release the gk method?
Reply With Quote
  #4  
Old 07-11-2008, 10:48 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by [email protected] View Post
prove it.
What, that the gserver is optimized to handle flags over loading data from a textfile? That is just a fact, simply true.
Quote:
Originally Posted by [email protected] View Post
don't get your reply at all, so why not release the gk method?
It's simply scripted without reading textfiles, the same point skyld was making.
__________________
Reply With Quote
  #5  
Old 07-11-2008, 10:52 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
Quote:
Originally Posted by Kristi View Post
What, that the gserver is optimized to handle flags over loading data from a textfile? That is just a fact, simply true.
i didn't say that loading a text file was faster than loading data from a flag. it's not a substantial difference from loading a flag than a text file.

Quote:
It's simply scripted without reading textfiles, the same point skyld was making.
explain how gks system works please
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 09:50 AM.


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