free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]


Re: The Soprano Family | Royal Loyalty by Stefanrsb
[June 02, 2025, 03:00:31 am]


Re: The Gvardia Family || San Fierro's Main Power || Best criminal group of 09/10/11 by Stefanrsb
[June 02, 2025, 02:47:01 am]


Re: BALLAS | In memory of INFERNO 9 and NBA by Stefanrsb
[June 02, 2025, 02:31:29 am]


Re: Count to 1,000,000. by Stefanrsb
[June 02, 2025, 02:15:04 am]


Re: Stopping by by Traser
[June 01, 2025, 10:23:13 pm]


Re: Stopping by by Old Catzu
[May 18, 2025, 07:27:06 pm]


Re: Stopping by by TheRock
[May 18, 2025, 06:44:49 am]


Re: Stopping by by KenAdams
[May 17, 2025, 06:33:45 am]

* Who's Online

  • Dot Guests: 552
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

June 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 [19] 20 21
22 23 24 25 26 27 28
29 30

Let's build the Internet: AIL

Teddy · 1718

0 Members and 1 Guest are viewing this topic.

Offline TeddyTopic starter

  • Orc
  • *****
    • Posts: 9161
  • "I'm on top of the world because of you."
  • With us since: 05/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
on: November 26, 2015, 09:02:17 pm
AIL is Argonath Internet Language and is a format for creating websites for in-game use. It uses JSON as a standard and allows for robust control. The following is an example of a Discount PC store (furniture shop in-game)
Code: [Select]
{
"domain": "aiw.discountpc.bizz",
"owner": "[WS]EvilTeddy",
"data": [
"1983",
"generic_page",
"allowed_payment_gateway",
"restrict_location",
"restrict_inventory"
],
"menu": [
"Home",
"About Us",
"Order"
],
"pages": [
"Welcome to Discount PC world! We sell the highest quality and cheapest home computers in the state!",
"Discount PC was founded in 1982 by Theodore Haswell I and has since grown to be the largest distributor of PCs since.",
"Ordering a new PC is easy. Simply click the order button below and your new PC will be shipped soon! Each PC costs $150 ARD"
],
"response": [
"",
"",
"Order"
],
"functions": [
"",
"",
"order_pc"
],
"local_function": {
"order_pc": [
"take_player_funds",
150,
"send_item",
"Laptop 1"
]
}
}

The first bit you don't need to worry about. The developers handle setting up this information. The first part of the data field is the property ID, followed by the page type. The last three are permissions; payment gateway, location service, and inventory.
Code: [Select]
"domain": "aiw.discountpc.bizz",
"owner": "[WS]EvilTeddy",
"data": [
"1983",
"generic_page",
"allowed_payment_gateway",
"restrict_location",
"restrict_inventory"
],

Next up is the home menu. When you first access a website from a computer in-game you are given a menu of pages in the site.
Code: [Select]
"menu": [
"Home",
"About Us",
"Order"
],

Next up we define our pages, the order of these need to directly corespond to the pages
Code: [Select]
"pages": [
"Welcome to Discount PC world! We sell the highest quality and cheapest home computers in the state!",
"Discount PC was founded in 1982 by Theodore Haswell I and has since grown to be the largest distributor of PCs since.",
"Ordering a new PC is easy. Simply click the order button below and your new PC will be shipped soon! Each PC costs $150 ARD"
],

you can see the corresponding values better here:
Code: [Select]
"menu": [
"Page 1",
"Page 2",
"Page 3"
],
"pages": [
"Page 1 Text",
"Page 2 Text",
"Page 3 Text"
],

The next part get's into actual interactivity and is responses. All message dialog have two buttons, the first we can leave blank so it only shows the "back" button. However if you want interactivity you can program responses:
Code: [Select]
"response": [
"",
"",
"Order"
],

You can see on our example on our order page we want the button "Order" to be next to "Back". This would execute a function, which we define here in our functions:

Code: [Select]
"functions": [
"",
"",
"order_pc"
],

Again, the order is directly corresponding of the function. Now we need to define the function, for this we setup local_function and create "order_pc".

Code: [Select]
"local_function": {
"order_pc": [
"take_player_funds",
150,
"send_item",
"Laptop 1"
]
}

Functions are executed in a procedural order. We will eventually release full documentation detailing building local functions. The directive take_player_funds automatically checks to make sure the player has the funds. If not, the function will automatically abort. The directive send_item will also automatically make sure the business has the product in stock.

We will release full documentation on this upcoming platform which should see in-game functionality before the end of the year. In a few days a GitHub repo will be created for you to create and submit your own websites into the Argonath Interactive Web (AIW). This repo will also contain the documentation needed for creating websites.

On a side note, happy thanksgiving to our American friends here at Argonath. Enjoy getting fatter!  :bananav:



Offline TiMoN

  • an
  • Hero
  • ****
    • Posts: 4066
  • Self-Elected Best Overall Player 2015
  • With us since: 07/10/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: TiMoN
  • Minecraft: TiMoN
Reply #1 on: November 26, 2015, 09:10:31 pm
Just when someone mentioned players scripting in the game itselt, great job Teddy.



Offline Archie

  • Veteran
  • ***
    • Posts: 974
  • Sven_Clark
  • With us since: 12/10/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: Archie
Reply #2 on: November 26, 2015, 09:11:25 pm
Wow, looks pretty. Thank you!

back again!


Offline Dizzy.

  • Veteran
  • ***
    • Posts: 470
    With us since: 10/07/2012
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Grove street Families
  • SA:MP: Dizzy_Hawk
Reply #3 on: November 26, 2015, 09:28:33 pm
Looks Great Teddy, Good job.



Offline TeddyTopic starter

  • Orc
  • *****
    • Posts: 9161
  • "I'm on top of the world because of you."
  • With us since: 05/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #4 on: November 26, 2015, 09:48:46 pm



Offline TiMoN

  • an
  • Hero
  • ****
    • Posts: 4066
  • Self-Elected Best Overall Player 2015
  • With us since: 07/10/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: TiMoN
  • Minecraft: TiMoN
Reply #5 on: November 26, 2015, 09:53:44 pm
More information on programming here:
https://github.com/derekmartinez18/ArgonathInteractiveWeb/wiki/Function-Programming
Programmable hitman websites? Holy shit.
Question, will this use textdraws or dialogs when added ig?



Offline Badandy

  • It's me
  • Veteran
  • ***
    • Posts: 446
  • With us since: 29/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: Badandy
  • Minecraft: Badandy
  • Discord: Badandy#2085
  • V:MP: Badandy
Reply #6 on: November 27, 2015, 04:21:45 am
I really REALLY want to play with this, as a programmer and web developer, this makes me happy. I want to use this so bad   :bananarock:

I LOVE YOU TEDDDDDDDDDDY

Working on Signature


Offline Marcel

  • Hero
  • ****
    • Posts: 0
  • With us since: 06/08/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: Marcel
  • Discord: Marcel#4759
Reply #7 on: November 27, 2015, 08:19:53 am
I really REALLY want to play with this, as a programmer and web developer, this makes me happy. I want to use this so bad   :bananarock:

I LOVE YOU TEDDDDDDDDDDY
Now you can RPly build websites for your clients and RP the same frustrations as real life webdevelopers about their clients. BRILLIANT!!!




Offline TiMoN

  • an
  • Hero
  • ****
    • Posts: 4066
  • Self-Elected Best Overall Player 2015
  • With us since: 07/10/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: TiMoN
  • Minecraft: TiMoN
Reply #8 on: November 27, 2015, 08:31:31 am
Now you can RPly build websites for your clients and RP the same frustrations as real life webdevelopers about their clients. BRILLIANT!!!
cant wait to RP ddos



Offline Marcel

  • Hero
  • ****
    • Posts: 0
  • With us since: 06/08/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: Marcel
  • Discord: Marcel#4759
Reply #9 on: November 27, 2015, 09:53:08 am
cant wait to RP ddos
Inb4 CIA cybercrime squad :rofl:




Offline TeddyTopic starter

  • Orc
  • *****
    • Posts: 9161
  • "I'm on top of the world because of you."
  • With us since: 05/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #10 on: November 27, 2015, 04:03:31 pm
Programmable hitman websites? Holy shit.
Question, will this use textdraws or dialogs when added ig?

Dialogs



Offline TeddyTopic starter

  • Orc
  • *****
    • Posts: 9161
  • "I'm on top of the world because of you."
  • With us since: 05/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #11 on: November 27, 2015, 04:20:12 pm
https://github.com/derekmartinez18/ArgonathInteractiveWeb/

Using pull requests, you can now begin building websites in /www. Availability of domains are on a first come first serve basis. Throughout the day the directives page will be updated with more details.



Offline TiMoN

  • an
  • Hero
  • ****
    • Posts: 4066
  • Self-Elected Best Overall Player 2015
  • With us since: 07/10/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: TiMoN
  • Minecraft: TiMoN
Reply #12 on: November 27, 2015, 04:48:47 pm
Dialogs
Are there any plans to include textdraws? They could use a pre-set view and information can be placed on them. They do look and feel a lot more professional than dialogs.

As for TLDs, why isn't there any support for .com and .net(non-group/business)?



Offline TeddyTopic starter

  • Orc
  • *****
    • Posts: 9161
  • "I'm on top of the world because of you."
  • With us since: 05/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #13 on: November 27, 2015, 05:00:41 pm
Are there any plans to include textdraws? They could use a pre-set view and information can be placed on them. They do look and feel a lot more professional than dialogs.

There could be plans for textdraws later on down the road.

As for TLDs, why isn't there any support for .com and .net(non-group/business)?

There will be further down the road once the processing engine is more complete.



Offline Badandy

  • It's me
  • Veteran
  • ***
    • Posts: 446
  • With us since: 29/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: Badandy
  • Minecraft: Badandy
  • Discord: Badandy#2085
  • V:MP: Badandy
Reply #14 on: November 27, 2015, 06:43:20 pm
Now you can RPly build websites for your clients and RP the same frustrations as real life webdevelopers about their clients. BRILLIANT!!!

Shit :( ... but in this, I can shoot people.


Working on Signature


 


free
free
SimplePortal 2.3.7 © 2008-2025, SimplePortal