Raised This Month: $ Target: $400
 0% 

Help with pole problem plz :)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 03-15-2010 , 02:09   Help with pole problem plz :)
Reply With Quote #1

[ORIGINALLY POSTED BY HVIIDEREN!]

me and hviideren are working together on this, and as i saw hviiderens post get locked by the title, this cant be a wrong title... please dont whine/flame about this - kthx

okay well, we got the problem that when we make a pole on the server is just shuts down and leaves a "Server Shutting Down" message, and we realy cant figure this out, barely tried everything, we are running a private BCM and not BM.

PHP Code:
SetBlockModelName(block_modelg_block_models[i], "Pole");

        case 
POLE:    size "Pole";

            if( 
size == POLE)
            {
                
size_min[0] = -32.0;
                
size_min[1] = -4.0;
                
size_min[2] = -4.0;
                
                
size_max[0] = 32.0;
                
size_max[1] = 4.0;
                
size_max[2] = 4.0;
            }
            
            
size_min[0] = -4.0;
            
size_min[1] = -32.0;
            
size_min[2] = -32.0;
            
            
size_max[0] = 4.0;
            
size_max[1] = 32.0;
            
size_max[2] = 32.0;
            
            
angles[0] = 90.0;
        }
        case 
Y:
        {
            
size_min[0] = -32.0;
            
size_min[1] = -4.0;
            
size_min[2] = -32.0;
            
            
size_max[0] = 32.0;
            
size_max[1] = 4.0;
            
size_max[2] = 32.0;
            
            
angles[0] = 90.0;
            
angles[2] = 90.0;
            
            if( 
size == POLE)
            {
                
size_min[0] = -4.0;
                
size_min[1] = -32.0;
                
size_min[2] = -4.0;
                
                
size_max[0] = 4.0;
                
size_max[1] = 32.0;
                
size_max[2] = 4.0;
            }
        }
        case 
Z:
        {
            
size_min[0] = -32.0;
            
size_min[1] = -32.0;
            
size_min[2] = -4.0;
            
            
size_max[0] = 32.0;
            
size_max[1] = 32.0;
            
size_max[2] = 4.0;
            
            
angles[0] = 0.0;
            
angles[1] = 0.0;
            
angles[2] = 0.0;
            
            if( 
size == POLE)
            {
                
size_min[0] = -4.0;
                
size_min[1] = -4.0;
                
size_min[2] = -32.0;
                
                
size_max[0] = 4.0;
                
size_max[1] = 4.0;
                
size_max[2] = 32.0;
            }
        }
    }
    
        case 
POLE:
        {
            
SetBlockModelName(block_modelg_block_models[block_type], "Pole");
            
scale 1.0;

        else if ( 
max_size 32.0 )    size POLE;

        case 
LARGE:    g_selected_block_size[id] = POLE;
        case 
POLE:    g_selected_block_size[id] = TINY;

    else if ( 
max_size 32.0 )    size POLE
__________________
Shadezz is offline
Toastt
BANNED
Join Date: Nov 2009
Old 03-15-2010 , 02:17   Re: Help with pole problem plz :)
Reply With Quote #2

isnt a pole size 64 ?
Toastt is offline
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 03-15-2010 , 02:19   Re: Help with pole problem plz :)
Reply With Quote #3

i honestly dont know, i got very "rusty" at coding ^^ just hoped some1 could help in here
__________________
Shadezz is offline
Toastt
BANNED
Join Date: Nov 2009
Old 03-15-2010 , 02:30   Re: Help with pole problem plz :)
Reply With Quote #4

im pretty sure the size is 64 but im not quite sure.
Toastt is offline
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 03-15-2010 , 02:31   Re: Help with pole problem plz :)
Reply With Quote #5

mm, but could that cause the crash?? i mean, the size aint that important to the server, so i just can believe that the size could actually crash the server? /:

EDIT: and in the way its crashing the server, is very odd..
__________________
Shadezz is offline
Toastt
BANNED
Join Date: Nov 2009
Old 03-15-2010 , 02:52   Re: Help with pole problem plz :)
Reply With Quote #6

Quote:
Originally Posted by Shadezz View Post
EDIT: and in the way its crashing the server, is very odd..
how does it crash? o.O
Toastt is offline
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 03-15-2010 , 03:04   Re: Help with pole problem plz :)
Reply With Quote #7

when i try making a pole in-game the server just shuts down and leaves a "Server shutting down" message.. its kinda lame ^^ and dont know if it can be fixed..
__________________
Shadezz is offline
JaGareN
Senior Member
Join Date: Mar 2009
Old 03-15-2010 , 05:56   Re: Help with pole problem plz :)
Reply With Quote #8

It's becouse ur pole code is wrong some where in the sma. If you want send the sma to me and i will try fixing it becouse i have BCM with pole on my server too.
JaGareN is offline
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 03-15-2010 , 08:27   Re: Help with pole problem plz :)
Reply With Quote #9

**going private**
__________________
Shadezz is offline
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 -4. The time now is 08:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode