Difference between revisions of "User talk:Shadlington"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 16: Line 16:
  
  
now, client shouldnt ever create its own objects
+
Server only:
 
+
attach objects
+
 
+
kill objects
+
 
+
decrease their health
+
  
well there are also map things
+
Creating its own objects
 +
 
 +
Attaching objects
 
    
 
    
creating/destroying blocks
+
Killing objects
 
    
 
    
probably some more but those are the basics
+
Decreasing object health
 
+
both simulate everything, server just has the authority to override client stuff
+
  
 +
Map things like creating/destroying blocks
  
  
For client:
+
Client only:
just rendering stuff perhaps
+
 
 
+
rendering stuff like GUI and cursors
stuff for gui, cursors
+
 
 +
 
 +
 
 +
Both simulate everything, server just has the authority to override client stuff

Revision as of 16:59, 22 August 2012

Pages to revisit:

GetBlob & GetPlayingBlob & GetBlobByName & GetPlayingBlobsSize & GetBlobSize - No examples, possibly untested.

CreateGridMenu - What exactly is a Grid Menu?

MakeCoin - What is the significance of the coin style? No example - untested?

MakeAnimatedParticle - Double check argument meanings are right... Especially angle.

HasRequirements - Don't really get how its meant to work. Why does it look at 2 inventories (inventory one just uses 1 - what instances would require two? Seems like AddWorkshopTasksButtons in workshoptasks.as calls it with the inventory of the workshop and the inventory of the player), why does it always add requirements/return false if its not a blob type?

CInventory::canPutItem & CInventory::putInItem & CInventory::RemoveItems & CInventory::isInInventory & CInventory::MoveInventoryTo - No examples, possibly untested.



Server only:

Creating its own objects

Attaching objects

Killing objects

Decreasing object health

Map things like creating/destroying blocks


Client only:

rendering stuff like GUI and cursors


Both simulate everything, server just has the authority to override client stuff