HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.
Pages: 1 2 [3]

Author Topic: Porting over the News System from HJRef  (Read 7496 times)

XCalPro

  • General Accounts
  • *
  • Posts: 105
  • 3D Artist & HSL Coder
    • View Profile
    • Excalibur Productions
Re: Porting over the News System from HJRef
« Reply #30 on: Feb 26, 12, 10:45:53 PM »

The only time that happened to me was when there was a typo in the XML. Check your XML code for errors as that would prevent it from " chompping" and appearing in the organizer.
Logged
Tony Oliveira aka XCalPro
HeroEngine Projects: Traveller 6 Online - www.traveller6.com/forum/
Portfolio: www.xcalpro.com/art

speedtek_99

  • General Accounts
  • *
  • Posts: 43
    • View Profile
    • CrazyWeasel Game Studios
Re: Porting over the News System from HJRef
« Reply #31 on: Apr 12, 12, 12:59:36 AM »

Awesome tutorial, works great - though in the News classes, I had to comment out some of the functionality to get them to compile and submit, after that I uncommented and they worked great.

In the process I managed to nerf up my hot-spotGUI, but restoring it to its previous glory will wait til I get some sleep.

Great job on the tutorial!
Logged
Michael Gough
Lead Developer
CrazyWeasel Game Studios
http://www.cwgstudios.com

Haskoman

  • World Owner
  • ****
  • Posts: 2
    • View Profile
Re: Porting over the News System from HJRef
« Reply #32 on: Jun 24, 12, 12:45:46 PM »

hello all,

help me please, i have error compiled newswindows


« Last Edit: Jun 24, 12, 12:57:43 PM by Haskoman »
Logged

Jrome90

  • General Accounts
  • *
  • Posts: 330
    • View Profile
Re: Porting over the News System from HJRef
« Reply #33 on: Jun 24, 12, 06:16:10 PM »

Have you compiled and submitted the "News" class methods script yet? (Client)

To get "News" class methods script to compile, you may need to comment out lines that include: call server
 Then, once the server side "News" class methods script is submitted, you would uncomment them.
 
« Last Edit: Jun 24, 12, 06:33:54 PM by Jrome90 »
Logged

Haskoman

  • World Owner
  • ****
  • Posts: 2
    • View Profile
Re: Porting over the News System from HJRef
« Reply #34 on: Jun 25, 12, 09:26:01 AM »

yes i have compiled News client and look error in line 112, other error is juste call

« Last Edit: Jun 25, 12, 10:44:06 AM by Haskoman »
Logged

Zounia

  • General Accounts
  • *
  • Posts: 2
    • View Profile
Re: Porting over the News System from HJRef
« Reply #35 on: Jun 26, 12, 09:00:46 PM »

I had to make the open function shared to get rid of that compile error
Logged

DragonFist

  • General Accounts
  • *
  • Posts: 140
    • View Profile
Re: Porting over the News System from HJRef
« Reply #36 on: Jun 28, 12, 12:36:11 AM »

Thanks much for this Tutorial.  I got it all working.  As some mentioned earlier, has issues with prototypes not creating, but figured out getting it done by using create new and then replacing the useless xml with the provided xml.

The Debugging got me further into the code getting a better understanding how it all worked, which was the point.
Logged

Thierry

  • General Accounts
  • *
  • Posts: 9
    • View Profile
Re: Porting over the News System from HJRef
« Reply #37 on: Feb 02, 13, 10:52:56 AM »

Hi, im having some trouble with the hsl script of "News".
Im getting errors caused by this:

Code: [Select]
%News.News_RecieveNewsItemUpdate(newItem)or with other ones with "%News%.

Errors at NewsClassMethods, Client Side:
Line 6      Col 21: untrusted method not found
Line 15    Col 21: untrusted method not found
Line 32    Col 21: untrusted method not found
Line 112  Col 3  : undefined identifier

Errors at NewsClassMethods, Server side
Line 20 Col 42: remote method not found
Line 38 Col 42: remote method not found

I did'nt continued the tutorial yet, im gonna do now, but this script is not working here. I think i did something wrong earlier.
Ive just became 12 years ;d


Thanks!
Logged

Thazager

  • General Accounts
  • *
  • Posts: 1137
  • Never stop learning
    • View Profile
    • Heroes and Villains MMORPG
Re: Porting over the News System from HJRef
« Reply #38 on: Feb 03, 13, 02:25:57 AM »

"untrusted method not found"

This error is looking for a method that has a prefix of untrusted.

"remote method not found"

This one is looking for a method that has remote.

A method can be called and used with in the script it is written. To be used by another script, it needs a different prefix before the method

example:
unstrusted method News_RecieveNewsItemUpdate (newitem as noderef)

remote method News_RecieveNewsItemUpdate (newitem as noderef)
Logged
Pages: 1 2 [3]