User:Ngyikp

From Ricochet Wiki
Revision as of 19:32, 10 July 2021 by Ngyikp (talk | contribs)

Ricochet Infinity builds

Windows edition:

  • Ricochet Infinity Version 3 Build 62

Mac edition:

  • Ricochet Lost Worlds Version 3 Build 71

Catalog response

POST /gateway/catalog.php HTTP/1.1
User-Agent: Ricochet Infinity Version 3 Build 62
Host: ricochet.test:8000
Pragma: no-cache
Accept: */*
Accept-Encoding: gzip
Content-Length: 1566
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------5ec2b33a116d
HTTP/1.1 100 Continue
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Channel"

Reflexive
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="ChannelID"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="UnlockCode"


------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Version"

3 Build 62
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="SessionID"

343882
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Player"

zcxzcxz
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="XP"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Launch"

3
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Running"

1433
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Played"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="PlayedMP"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Demo"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Language"

English
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Program"

RicochetInfinity.exe
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="CCatalogWebResponse"

1
------------------------------5ec2b33a116d--

SessionID can be returned by server and will be saved by the game

CCatalogWebResponse

CCatalogWebResponse
{
  Success=1
  SessionID=343882
  Catalog URL=http://ricochet.test:8000/gateway/catalog.php
  Download URL=http://ricochet.test:8000/levels/download.php?File=downloads/raw/
  Submit URL=http://ricochet.test:8000/levels/ri_submitform.php
  Image URL=http://ricochet.test:8000/levels/
  Rate URL=http://ricochet.test:8000/gateway/syncratings.php
  Can Test PreRelease Levels=
  Can Apply Star Tags=
  New Build Message=Go to www.RicochetInfinity.com to download an update for Ricochet Infinity
}
id,name,rounds,author,date,featured,gameversion,prerelease,required_build,imageurl,rating,downloads,description,tags,overall_rating,overall_ratings,fun_rating,fun_ratings,graphics_rating,graphics_ratings,also_like
1,Reflexive B Sides,26,Reflexive,2004-04-22,0,2,0,,images/ReflexiveBSides.jpg,4.10638,40542,Bonus rounds form the original creators of Ricochet Lost Worlds.,Classic Style;Strategy;Artistic;Bombs;Hard;Easy,11.1383,753,11.4466,652,11.2495,646,

If Success=0 is set, then it will show error message (from ErrorMessage=) to user and catalog will not update

If Can Apply Star Tags=1 is set, then * Featured * tag will be available to tag and unblocks the * character from being typed at the UI

Submission

POST /levels/ri_submitform.php HTTP/1.1
User-Agent: Ricochet Infinity Version 3 Build 62
Host: ricochet.test:8000
Pragma: no-cache
Accept: */*
Accept-Encoding: gzip
Content-Length: 169710
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------aed1e8ba8017
HTTP/1.1 100 Continue
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Channel"

Reflexive
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="ChannelID"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="UnlockCode"


------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Version"

3 Build 62
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="SessionID"

343882
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Player"

sdfsdfsd
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="XP"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Launch"

1
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Running"

3195
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Played"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="PlayedMP"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Demo"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Language"

English
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Program"

RicochetInfinity.exe
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="ispostback"

1
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="ResponseFormat"

Property
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="email"

343882
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="file"; filename="Some rounds.RicochetI"
Content-Type: application/octet-stream

[binary]
------------------------------aed1e8ba8017--

Response (best guess that official is down)

CWebResponse
{
  SessionID=343882
  Success=1
  ErrorMessage=test
}

If Success=1, then Success dialog is shown with text "You have successfully submitted your levelset. Your levelset will be reviewed and made available to the public within two or three working days." ErrorMessage is ignored.

If Success=0, then ErrorMessage is shown.

Sync ratings

POST /gateway/syncratings.php HTTP/1.1
User-Agent: Ricochet Infinity Version 3 Build 62
Host: ricochet.test:8000
Pragma: no-cache
Accept: */*
Accept-Encoding: gzip
Content-Length: 481
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------f1f9e2e1e588
HTTP/1.1 100 Continue
------------------------------f1f9e2e1e588
Content-Disposition: form-data; name="action"

update
------------------------------f1f9e2e1e588
Content-Disposition: form-data; name="SessionID"

343882
------------------------------f1f9e2e1e588
Content-Disposition: form-data; name="ratings"

player_name,roundset_name,overall_rating,fun_rating,graphics_rating,tags,percent_complete
sdfsdfsd,Some rounds,14,11,8,Test;Hggfhfg,5

------------------------------f1f9e2e1e588--