You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links
Palabre on Facebook






Actionscript for Multiplayer games
 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 



Using Palabre ? Coming here for Support ? Please consider making an (even small) donation :)
Palabre Forum  


Post a new message in "Default Forum"
Name:
Subject:
topic icon:
no
boardcode:
 Colour:  Size:   Close all tags
Message:
CAPTCHA: How much is 4 added to 0

Topic History of: variables in server
Max. showing the last posts - (Last post first)
Author Message
wawi teank you :D, I now use the free code or code base, palabre is fantastic!! :)



Byee bye
Dorantor You should get something like this:



Code:

 
class test:
    
    
numero=1

    def __init__
(selfserver):        
        
        
self.server server        
        self
.name "test"
        
self.server.registerNode('sum',self.name)
        
        return
        

    
def doNode(selfnodeNamenodeclient):
        
        if 
nodeName == 'sum':            
            
self.numero self.numero 1
            msg 
self.server.formatMessage('hello', [], you number is' + str(self.numero))
            client.clientSendMessage(msg)
                    
        return


Dorantor I guess you should use not just

Code:

 numero


but
Code:

 self.numero

wawi hello, it is my module test:



Code:

 
class test:
    
    
numero=1

    def __init__
(self,server):        
        
        
self.server server
        
        self
.name "test"
        
        
        
self.server.registerNode('sum',self.name)
        
        return
        
    
def doNode(self,nodeName,node,client):
        
        if 
nodeName == 'sum':
            
            
numero=numero+1
            client
.clientSendMessage(self.server.formatMessage('hello',[],you number is'+str(numero)))
            
            
        return




The users call this function and variable "numero" increment, but I have the error, the error is "global name "numero" is not defined". how I can repair this problem?


else, how I can compile a .exe?
SORRY, website is currently mostly broken due to software changes on the server.
Hope to fix it soon ...

In the meantime you may still download palabre or use the forum