[CF-Devel] Python/casino stuff

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Fri Oct 24 15:36:34 CDT 2003


>
     
      The way the objects are being created now is as follows (pretend this is 
     
     >
     
      pseudo code even though it is Python :))
     
     >
     
     
     >
     
      object = CFPython.CreateObject(cointype,(x,y))  <-- creates object
     
     >
     
      CFPython.SetQuantity(object, payoff)  <-- sets quantity
     
     
This why it doesn't work: CreateObject creates the object, but ultimately calls 
insert_ob_in_map which will merge newly created object with existing object on 
the square...

Nicolas 'Ryo'


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list