The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 94 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 573 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 752 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/showthread.php 28 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5327 - File: inc/functions.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions.php 5327 errorHandler->error
/global.php 1024 build_theme_select
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1568 - File: showthread.php PHP 8.4.12 (Linux)
File Line Function
/showthread.php 1568 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: showthread.php(1600) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 33 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $ratethread - Line: 41 - File: showthread.php(1600) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 41 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: showthread.php(1600) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 82 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $thread_deleted - Line: 104 - File: showthread.php(1600) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 104 errorHandler->error
/showthread.php 1600 eval




I'm working on online saving for Buildism
#1
(Mods - I wasn't sure where to post this, so I posted it here)

I haven't released this yet, because it doesn't work.
I just need to add it the the "functions list." Except, I can't find the functions list. Sad

Syntax
Code:
str=game:httpGet("http://something.com")

About
httpGet() is a global function, you can use it from anywhere in your scripts.
It takes one argument: url
Its the URL to a website, such as http://buildism.net/
Remember the http:// at the beginning or Java will cause an error!
httpGet() is a member of the "Root" or "game" object.
On success, it returns a string with the contents of the url.
On failure, Java errors.
DO NOT USE LARGE WEBSITES SUCH AS BUILDISM OR ROBLOX.

(Jacob_ where's the Kahlua environment table?!?!)
Reply
#2
(06-21-2012, 02:39 PM)Dignity Wrote: (Mods - I wasn't sure where to post this, so I posted it here)

I haven't released this yet, because it doesn't work.
I just need to add it the the "functions list." Except, I can't find the functions list. Sad

Syntax
Code:
str=httpGet("http://something.com")

About
httpGet() is a global function, you can use it from anywhere in your scripts.
It takes one argument: url
Its the URL to a website, such as http://buildism.net/
Remember the http:// at the beginning or Java will cause an error!
httpGet() is also not a member of any object in the game.
On success, it returns a string with the contents of the url.
On failure, Java errors.
DO NOT USE LARGE WEBSITES SUCH AS BUILDISM OR ROBLOX.

(Jacob_ where's the Kahlua environment table?!?!)

I wouldn't suggest adding another global function, just go to the "Root" object and copy one of the existing addFunction() lines. Then it would be game:httpGet().
Reply
#3
(06-21-2012, 02:48 PM)Jacob_ Wrote:
(06-21-2012, 02:39 PM)Dignity Wrote: (Mods - I wasn't sure where to post this, so I posted it here)

I haven't released this yet, because it doesn't work.
I just need to add it the the "functions list." Except, I can't find the functions list. Sad

Syntax
Code:
str=httpGet("http://something.com")

About
httpGet() is a global function, you can use it from anywhere in your scripts.
It takes one argument: url
Its the URL to a website, such as http://buildism.net/
Remember the http:// at the beginning or Java will cause an error!
httpGet() is also not a member of any object in the game.
On success, it returns a string with the contents of the url.
On failure, Java errors.
DO NOT USE LARGE WEBSITES SUCH AS BUILDISM OR ROBLOX.

(Jacob_ where's the Kahlua environment table?!?!)

I wouldn't suggest adding another global function, just go to the "Root" object and copy one of the existing addFunction() lines. Then it would be game:httpGet().

kay
I did that, except now it thinks I didn't add any arguments when I call it.
Better than not doing anything when I call it though. Big Grin
WAit - does callFrame.get() start on 0 or 1?
Grrr...

Error:
Code:
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
    at net.buildism.MainView.updateBackground(MainView.java:409)
    at net.buildism.GamePanel$1.componentResized(GamePanel.java:70)
    at java.awt.Component.processComponentEvent(Component.java:6330)
    at java.awt.Component.processEvent(Component.java:6284)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4860)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4686)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
    at java.awt.EventQueue.access$000(EventQueue.java:101)
    at java.awt.EventQueue$3.run(EventQueue.java:666)
    at java.awt.EventQueue$3.run(EventQueue.java:664)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:680)
    at java.awt.EventQueue$4.run(EventQueue.java:678)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)    at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Code:
Code:
addFunction("httpGet", new JavaFunction()          
    {
        public int call(LuaCallFrame callFrame, int nArguments) {
            try {
                if (nArguments!=1) {
                    throw new RuntimeException("httpGet() requires a string argument");
                }
                CloudService cls=new CloudService();
                String url=callFrame.get(1).toString();
                callFrame.push(cls.getContents(url));
                
            } catch (Exception ex) {
                throw new RuntimeException(ex);
            }
            return 1;
        }
    });
What?
Okay, that error is gone, but...
Code:
httpGet() requires a string argument.
Reply
#4
(06-21-2012, 02:49 PM)Dignity Wrote:
(06-21-2012, 02:48 PM)Jacob_ Wrote:
(06-21-2012, 02:39 PM)Dignity Wrote: (Mods - I wasn't sure where to post this, so I posted it here)

I haven't released this yet, because it doesn't work.
I just need to add it the the "functions list." Except, I can't find the functions list. Sad

Syntax
Code:
str=httpGet("http://something.com")

About
httpGet() is a global function, you can use it from anywhere in your scripts.
It takes one argument: url
Its the URL to a website, such as http://buildism.net/
Remember the http:// at the beginning or Java will cause an error!
httpGet() is also not a member of any object in the game.
On success, it returns a string with the contents of the url.
On failure, Java errors.
DO NOT USE LARGE WEBSITES SUCH AS BUILDISM OR ROBLOX.

(Jacob_ where's the Kahlua environment table?!?!)

I wouldn't suggest adding another global function, just go to the "Root" object and copy one of the existing addFunction() lines. Then it would be game:httpGet().

kay
I did that, except now it thinks I didn't add any arguments when I call it.
Better than not doing anything when I call it though. Big Grin
WAit - does callFrame.get() start on 0 or 1?
Grrr...

Error:
Code:
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
    at net.buildism.MainView.updateBackground(MainView.java:409)
    at net.buildism.GamePanel$1.componentResized(GamePanel.java:70)
    at java.awt.Component.processComponentEvent(Component.java:6330)
    at java.awt.Component.processEvent(Component.java:6284)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4860)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4686)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
    at java.awt.EventQueue.access$000(EventQueue.java:101)
    at java.awt.EventQueue$3.run(EventQueue.java:666)
    at java.awt.EventQueue$3.run(EventQueue.java:664)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:680)
    at java.awt.EventQueue$4.run(EventQueue.java:678)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)    at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Code:
Code:
addFunction("httpGet", new JavaFunction()          
    {
        public int call(LuaCallFrame callFrame, int nArguments) {
            try {
                if (nArguments!=1) {
                    throw new RuntimeException("httpGet() requires a string argument");
                }
                CloudService cls=new CloudService();
                String url=callFrame.get(1).toString();
                callFrame.push(cls.getContents(url));
                
            } catch (Exception ex) {
                throw new RuntimeException(ex);
            }
            return 1;
        }
    });
What?
Okay, that error is gone, but...
Code:
httpGet() requires a string argument.

It starts counting at 0, but parameter 0 is the object that the function is being used on. So there would be 2 arguments, not 1.
Reply
#5
(06-21-2012, 03:14 PM)Jacob_ Wrote:
(06-21-2012, 02:49 PM)Dignity Wrote:
(06-21-2012, 02:48 PM)Jacob_ Wrote:
(06-21-2012, 02:39 PM)Dignity Wrote: (Mods - I wasn't sure where to post this, so I posted it here)

I haven't released this yet, because it doesn't work.
I just need to add it the the "functions list." Except, I can't find the functions list. Sad

Syntax
Code:
str=httpGet("http://something.com")

About
httpGet() is a global function, you can use it from anywhere in your scripts.
It takes one argument: url
Its the URL to a website, such as http://buildism.net/
Remember the http:// at the beginning or Java will cause an error!
httpGet() is also not a member of any object in the game.
On success, it returns a string with the contents of the url.
On failure, Java errors.
DO NOT USE LARGE WEBSITES SUCH AS BUILDISM OR ROBLOX.

(Jacob_ where's the Kahlua environment table?!?!)

I wouldn't suggest adding another global function, just go to the "Root" object and copy one of the existing addFunction() lines. Then it would be game:httpGet().

kay
I did that, except now it thinks I didn't add any arguments when I call it.
Better than not doing anything when I call it though. Big Grin
WAit - does callFrame.get() start on 0 or 1?
Grrr...

Error:
Code:
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
    at net.buildism.MainView.updateBackground(MainView.java:409)
    at net.buildism.GamePanel$1.componentResized(GamePanel.java:70)
    at java.awt.Component.processComponentEvent(Component.java:6330)
    at java.awt.Component.processEvent(Component.java:6284)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4860)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4686)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
    at java.awt.EventQueue.access$000(EventQueue.java:101)
    at java.awt.EventQueue$3.run(EventQueue.java:666)
    at java.awt.EventQueue$3.run(EventQueue.java:664)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:680)
    at java.awt.EventQueue$4.run(EventQueue.java:678)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)    at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Code:
Code:
addFunction("httpGet", new JavaFunction()          
    {
        public int call(LuaCallFrame callFrame, int nArguments) {
            try {
                if (nArguments!=1) {
                    throw new RuntimeException("httpGet() requires a string argument");
                }
                CloudService cls=new CloudService();
                String url=callFrame.get(1).toString();
                callFrame.push(cls.getContents(url));
                
            } catch (Exception ex) {
                throw new RuntimeException(ex);
            }
            return 1;
        }
    });
What?
Okay, that error is gone, but...
Code:
httpGet() requires a string argument.

It starts counting at 0, but parameter 0 is the object that the function is being used on. So there would be 2 arguments, not 1.

Thanks!
Testing some scripts now. Smile
Its working now.
Reply
#6
Quote attack! I'm having trouble telling who said what :o
Reply
#7
(06-21-2012, 03:39 PM)Qwertygiy Wrote: Quote attack! I'm having trouble telling who said what :o

Quote Pyramid
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)